mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 19:47:13 +08:00
26 lines
626 B
Bash
26 lines
626 B
Bash
# Platform packages for Chakra
|
|
|
|
pkgname=perl-file-sharedir
|
|
_realname=File-ShareDir
|
|
pkgver=1.03
|
|
pkgrel=2
|
|
pkgdesc="Locate per-dist and per-module shared files"
|
|
arch=(any)
|
|
license=(PerlArtistic GPL)
|
|
depends=(perl-class-inspector)
|
|
url="http://search.cpan.org/dist/File-ShareDir"
|
|
options=('!emptydirs')
|
|
source=("http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/$_realname-$pkgver.tar.gz")
|
|
md5sums=('333a0903db23b9097adfbeb37b99d561')
|
|
|
|
build() {
|
|
cd "$srcdir/$_realname-$pkgver"
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$_realname-$pkgver"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|