blob: d1341c8322ea7c65b1b6c7772d18a55dd64efb6d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
# Contributor: Ross melin <rdmelin@gmail.com>
# Required by zoneminder
pkgname=perl-device-serialport
pkgver=1.04
pkgrel=2
pkgdesc="POSIX clone of Win32::SerialPort"
arch=('i686' 'x86_64')
url="http://search.cpan.org/~COOK/Device-SerialPort"
license=('GPL' 'PerlArtistic')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/C/CO/COOK/Device-SerialPort-$pkgver.tar.gz)
md5sums=('82c698151f934eb28c65d1838cee7d9e')
build() {
cd $startdir/src/Device-SerialPort-$pkgver
eval `perl -V:archname`
PERL_MM_USE_DEFAULT=1 /usr/bin/perl Makefile.PL \
INSTALLDIRS=vendor || return 1
/usr/bin/make || return 1
/usr/bin/make DESTDIR=$startdir/pkg install || return 1
/usr/bin/find $startdir/pkg -name '.packlist' -delete
/usr/bin/find $startdir/pkg -name '*.pod' -delete
}
# vim:set ts=2 sw=2 et:
|