summaryrefslogtreecommitdiff
path: root/community/perl-device-serialport/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/perl-device-serialport/PKGBUILD')
-rw-r--r--community/perl-device-serialport/PKGBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/community/perl-device-serialport/PKGBUILD b/community/perl-device-serialport/PKGBUILD
index 7f0ba54d6..3305d0af1 100644
--- a/community/perl-device-serialport/PKGBUILD
+++ b/community/perl-device-serialport/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 71775 2012-06-02 10:30:18Z bluewind $
+# $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=4
+pkgrel=5
pkgdesc="POSIX clone of Win32::SerialPort"
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/Device-SerialPort"
@@ -19,6 +19,10 @@ build() {
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