core/perl-file-which/PKGBUILD

24 lines
556 B
Bash

# Platform packages for Chakra
pkgname=perl-file-which
_realname=File-Which
pkgver=1.09
pkgrel=2
pkgdesc="Portable implementation of which"
arch=(any)
url="http://search.cpan.org/dist/File-Which"
license=(GPL PerlArtistic)
source=("http://www.cpan.org/authors/id/A/AD/ADAMK/${_realname}-${pkgver}.tar.gz")
md5sums=('b9429edaad7f45caafa4d458afcfd8af')
build() {
cd "$srcdir/${_realname}-${pkgver}"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd "$srcdir/${_realname}-${pkgver}"
make install DESTDIR="$pkgdir"
}