mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
22 lines
732 B
Bash
22 lines
732 B
Bash
# This PKGBUILD was autocreated. See http://xtermin.us/archperl/ for details
|
|
# Maintainer: Charles Mauch <cmauch@gmail.com>
|
|
|
|
pkgname=perl-file-which
|
|
_realname=File-Which
|
|
pkgver=1.08
|
|
pkgrel=1
|
|
pkgdesc="Portable implementation of which"
|
|
arch=(any)
|
|
url="http://search.cpan.org/dist/File-Which"
|
|
license=("GPL" "Artistic")
|
|
source=("http://www.cpan.org/authors/id/A/AD/ADAMK/${_realname}-${pkgver}.tar.gz")
|
|
md5sums=('e93e2ad62ff86726a2156e0cc0c066fe')
|
|
|
|
build() {
|
|
cd $startdir/src/${_realname}-${pkgver}
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
|
|
make || return 1
|
|
make install DESTDIR=$startdir/pkg || return 1
|
|
find $startdir/pkg -name '.packlist' -delete
|
|
find $startdir/pkg -name '*.pod' -delete
|
|
}
|