updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-net-mac-vendor / PKGBUILD
blobae8abbfd7aabaaffe982f5a55ed3c6b2df965889
1 # Contributor: Weirch Sodora <sodora@gmail.com>
3 pkgname=perl-net-mac-vendor
4 pkgver=1.18
5 pkgrel=1
6 pkgdesc="Net::MAC::Vendor - look up the vendor for a MAC"
7 arch=('i686' 'x86_64')
8 url="http://search.cpan.org/~bdfoy/Net-MAC-Vendor/"
9 license=('GPL' 'PerlArtistic')
10 depends=('perl')
11 options=('!emptydirs')
12 source=(http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/Net-MAC-Vendor-$pkgver.tar.gz)
13 md5sums=('0f2f5b4b591351f8a878d92beca9a1ea')
15 build() {
16   cd $startdir/src/Net-MAC-Vendor-$pkgver
17   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
18   make || return 1
19   make install DESTDIR=$startdir/pkg || return 1
20   find $startdir/pkg -name '.packlist' -delete
21   find $startdir/pkg -name '*.pod' -delete