mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 22:47:14 +08:00
27 lines
649 B
Bash
27 lines
649 B
Bash
|
# Platform packages for Chakra
|
||
|
|
||
|
pkgname=perl-file-slurp
|
||
|
pkgver=9999.19
|
||
|
pkgrel=1
|
||
|
pkgdesc="Read/write/append files quickly"
|
||
|
arch=('any')
|
||
|
url="http://search.cpan.org/dist/File-Slurp"
|
||
|
license=('GPL' 'PerlArtistic')
|
||
|
depends=('perl>=5.14.0')
|
||
|
options=('!emptydirs')
|
||
|
source=(http://www.cpan.org/authors/id/U/UR/URI/File-Slurp-$pkgver.tar.gz)
|
||
|
md5sums=('7d584cd15c4f8b9547765eff8c4ef078')
|
||
|
|
||
|
build() {
|
||
|
cd $srcdir/File-Slurp-$pkgver
|
||
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||
|
make
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd $srcdir/File-Slurp-$pkgver
|
||
|
make install DESTDIR=$pkgdir
|
||
|
find $pkgdir -name '.packlist' -delete
|
||
|
find $pkgdir -name '*.pod' -delete
|
||
|
}
|