summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-file-slurp-tiny/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-05-31 16:59:26 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-05-31 16:59:26 (GMT)
commit38931b8035b4817cceb42d759df03981801fa483 (patch)
treeedf6fced2570de1e5b6c83c35e0f14081e08ae99 /abs/core/perl_modules/perl-file-slurp-tiny/PKGBUILD
parent81f16e1b1eb0b183a992d2b556a98b46e1de086b (diff)
downloadlinhes_pkgbuild-38931b8035b4817cceb42d759df03981801fa483.zip
linhes_pkgbuild-38931b8035b4817cceb42d759df03981801fa483.tar.gz
linhes_pkgbuild-38931b8035b4817cceb42d759df03981801fa483.tar.bz2
perl-file-slurp-tiny: initial
Diffstat (limited to 'abs/core/perl_modules/perl-file-slurp-tiny/PKGBUILD')
-rw-r--r--abs/core/perl_modules/perl-file-slurp-tiny/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/abs/core/perl_modules/perl-file-slurp-tiny/PKGBUILD b/abs/core/perl_modules/perl-file-slurp-tiny/PKGBUILD
new file mode 100644
index 0000000..100ba08
--- /dev/null
+++ b/abs/core/perl_modules/perl-file-slurp-tiny/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars@archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
+
+pkgname=perl-file-slurp-tiny
+pkgver=0.004
+pkgrel=3
+pkgdesc="A simple, sane and efficient file slurper"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+makedepends=()
+url='http://search.cpan.org/dist/File-Slurp-Tiny'
+source=("http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/File-Slurp-Tiny-$pkgver.tar.gz")
+md5sums=('7575b81543281ea57cdb7e5eb3f73264')
+
+build() {
+ cd "$srcdir/File-Slurp-Tiny-$pkgver"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "$srcdir/File-Slurp-Tiny-$pkgver"
+ PERL_MM_USE_DEFAULT=1
+ make test
+}
+
+package() {
+ cd "$srcdir/File-Slurp-Tiny-$pkgver"
+ make install DESTDIR="$pkgdir"
+ find "$pkgdir" -name '.packlist' -o -name '*.pod' -delete
+}