initial import
This commit is contained in:
26
perl-file-slurp-tiny/PKGBUILD
Normal file
26
perl-file-slurp-tiny/PKGBUILD
Normal file
@@ -0,0 +1,26 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=perl-file-slurp-tiny
|
||||
pkgver=0.004
|
||||
pkgrel=1
|
||||
pkgdesc="A simple, sane and efficient file slurper"
|
||||
arch=('any')
|
||||
url='https://search.cpan.org/dist/File-Slurp-Tiny'
|
||||
license=('GPL-1')
|
||||
depends=('perl')
|
||||
options=('!emptydirs')
|
||||
source=("https://search.cpan.org/CPAN/authors/id/L/LE/LEONT/File-Slurp-Tiny-$pkgver.tar.gz")
|
||||
sha512sums=('916af1da5375ced4ebc00cb2b908e53b027e7b4fcad9069d5109eb2c0623faaa1d2d4fc8aeefb22861c7304ec913696cec85c280a82fd9aa7236c902427bc5cf')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/File-Slurp-Tiny-$pkgver"
|
||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/File-Slurp-Tiny-$pkgver"
|
||||
make install DESTDIR="$pkgdir"
|
||||
find "$pkgdir" -name '.packlist' -o -name '*.pod' -delete
|
||||
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
Reference in New Issue
Block a user