mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 18:17:14 +08:00
24 lines
556 B
Bash
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"
|
|
}
|