updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-unix-pid / PKGBUILD
blob94e830df58fbab90afe7d33d7c84a286ce0242eb
1 # Contributor: 3ED <krzysztof1987 at gmail dot com>
3 pkgname=perl-unix-pid
4 _prename=Unix
5 _pkgname=Unix-PID
6 pkgver=0.23
7 pkgrel=1
8 pkgdesc='Perl extension for getting PID info.'
9 url='http://search.cpan.org/dist/Unix-PID/'
10 arch=('i686' 'x86_64')
11 license=('PerlArtistic' 'GPL')
12 depends=('perl')
13 source=(http://search.cpan.org/CPAN/modules/by-module/${_prename}/${_pkgname}-${pkgver}.tar.gz)
14 sha256sums=('f52617b55ecd4a2c93379228721c47cf129cf9ba94a62ac22409b6f0f5b2b4a8')
16 build() {
17   cd "${srcdir}/${_pkgname}-${pkgver}"
19   export PERL_MM_USE_DEFAULT=1
20   perl Makefile.PL INSTALLDIRS=vendor
22   make
24 check() {
25   cd "${srcdir}/${_pkgname}-${pkgver}"
26   make test
29 package() {
30   cd "${srcdir}/${_pkgname}-${pkgver}"
31   make DESTDIR="${pkgdir}" install
33   find "${pkgdir}" -name .packlist -o -name perllocal.pod -delete