archrelease: copy trunk to extra-x86_64
[arch-packages.git] / perl-file-which / repos / extra-any / PKGBUILD
blob02f6edca5f8b92feacac64cf8b559ef073211bab
1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Charles Mauch <cmauch@gmail.com>
4 pkgname=perl-file-which
5 _realname=File-Which
6 pkgver=1.27
7 pkgrel=2
8 pkgdesc="Portable implementation of which"
9 arch=(any)
10 url="https://metacpan.org/dist/$_realname"
11 license=(GPL PerlArtistic)
12 depends=(perl)
13 options=('!emptydirs')
14 source=("https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/$_realname-$pkgver.tar.gz")
15 sha256sums=('3201f1a60e3f16484082e6045c896842261fc345de9fb2e620fd2a2c7af3a93a')
17 build() {
18   cd $_realname-$pkgver
19   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
20   make
23 package() {
24   cd $_realname-$pkgver
25   make DESTDIR="$pkgdir" install
28 # vim:set sw=2 et: