PKGBUILDs/community/perl-xyne-arch/PKGBUILD

25 lines
710 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
#Maintainer: Xyne <xyne at archlinux dot ca>
pkgname=perl-xyne-arch
pkgver=0.80
pkgrel=2
pkgdesc="Xyne's Arch-specific Perl modules."
depends=('perl' 'perl-libwww' 'perl-xyne-common')
optdepends=('sudo')
arch=('any')
license=('GPL')
url="http://xyne.archlinux.ca/info/${pkgname}"
source=(http://xyne.archlinux.ca/src/$pkgname-$pkgver.tar.gz)
md5sums=('e74f67ce644c5ebb1ba876f4eb6f2545')
build() {
cd $srcdir/$pkgname
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make install DESTDIR=${pkgdir} || return 1
# remove perllocal.pod and .packlist
find ${pkgdir} -name perllocal.pod -delete
find ${pkgdir} -name .packlist -delete
}
# vim: set ts=2 sw=2 et: