updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-sys-portio / PKGBUILD
blobae4c7bc1978036d0b9099d5c2f9b4825de212011
1 # Maintainer: kevku <kevku@msn.com>
2 pkgname=perl-sys-portio
3 pkgver=0.1
4 pkgrel=1
5 pkgdesc="Sys::PortIO - perform direct port I/O from Perl"
6 arch=('x86_64' 'i686')
7 url="http://search.cpan.org/~andrewho/Sys-PortIO"
8 license=('GPL' 'PerlArtistic')
9 depends=('perl>=5.10.0')
10 options=(!emptydirs)
11 source=("http://search.cpan.org/CPAN/authors/id/A/AN/ANDREWHO/Sys-PortIO-$pkgver.tar.gz")
12 md5sums=('be88f2c6001a690e31f384a61bcf6ea4')
14 build() {
15   cd "$srcdir/Sys-PortIO-$pkgver"
16   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
17   make
20 package() {
21   cd "$srcdir/Sys-PortIO-$pkgver"
22   make install DESTDIR="$pkgdir/"