PKGBUILDs/community/perl-sys-syscall/PKGBUILD
2009-10-09 21:15:33 -05:00

19 lines
640 B
Bash

pkgname=perl-sys-syscall
pkgver=0.22
pkgrel=1
pkgdesc="Perl/CPAN Module Sys::Syscall"
arch=("i686" "x86_64")
url="http://search.cpan.org/dist/Sys-Syscall/"
license=("GPL" "PerlArtistic")
source=("http://search.cpan.org/CPAN/authors/id/B/BR/BRADFITZ/Sys-Syscall-$pkgver.tar.gz")
depends=("perl")
md5sums=('a29b1ddd6fea9f7e11f0f82534d4204c')
build() {
cd $startdir/src/Sys-Syscall-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make pure_install doc_install DESTDIR=$startdir/pkg || return 1
find $startdir/pkg -name '.packlist' -delete
find $startdir/pkg -name '*.pod' -delete
}