diff options
author | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
commit | 7a65a910b77ad191d69881098c47f9b0c852d92e (patch) | |
tree | 9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/perl-device-serialport/PKGBUILD | |
parent | 60da6abff6c9577a783d72865f11de7a585e912e (diff) |
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/perl-device-serialport/PKGBUILD')
-rw-r--r-- | community/perl-device-serialport/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/community/perl-device-serialport/PKGBUILD b/community/perl-device-serialport/PKGBUILD new file mode 100644 index 000000000..3305d0af1 --- /dev/null +++ b/community/perl-device-serialport/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 91668 2013-05-26 09:25:04Z bluewind $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Ross melin <rdmelin@gmail.com> + +pkgname=perl-device-serialport +pkgver=1.04 +pkgrel=5 +pkgdesc="POSIX clone of Win32::SerialPort" +arch=('i686' 'x86_64') +url="http://search.cpan.org/dist/Device-SerialPort" +license=('GPL' 'PerlArtistic') +depends=('perl') +options=('!emptydirs') +source=(http://www.cpan.org/authors/id/C/CO/COOK/Device-SerialPort-$pkgver.tar.gz) +md5sums=('82c698151f934eb28c65d1838cee7d9e') + +build() { + cd $srcdir/Device-SerialPort-$pkgver + eval `perl -V:archname` + PERL_MM_USE_DEFAULT=1 /usr/bin/perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd $srcdir/Device-SerialPort-$pkgver + make DESTDIR=$pkgdir install + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete +} |