PKGBUILDs/community/perl-xyne-common/PKGBUILD
2009-10-09 21:15:33 -05:00

23 lines
653 B
Bash

# Maintainer: Xyne <xyne at archlinux dot us>
pkgname=perl-xyne-common
pkgver=0.05
pkgrel=3
pkgdesc="Xyne's common Perl modules."
depends=('perl')
arch=('any')
license=('GPL')
url="http://xyne.archlinux.ca/info/${pkgname}"
source=(http://xyne.archlinux.ca/src/$pkgname-$pkgver.tar.gz)
md5sums=('04abf372635a75700f48ae4898db1566')
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: