summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-05-30 19:41:24 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-05-30 19:41:24 (GMT)
commit18b6d70d7267f410776988ebb5ca06f72707dfa4 (patch)
tree516f151fe2193998838596b75396fbd0327a6830
parent85bc632673f481dffc9f3f3e833c8df5c8f76d6b (diff)
downloadlinhes_pkgbuild-18b6d70d7267f410776988ebb5ca06f72707dfa4.zip
linhes_pkgbuild-18b6d70d7267f410776988ebb5ca06f72707dfa4.tar.gz
linhes_pkgbuild-18b6d70d7267f410776988ebb5ca06f72707dfa4.tar.bz2
perl-file-sharedir-install: initial
-rw-r--r--abs/core/perl_modules/perl-file-sharedir-install/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/abs/core/perl_modules/perl-file-sharedir-install/PKGBUILD b/abs/core/perl_modules/perl-file-sharedir-install/PKGBUILD
new file mode 100644
index 0000000..afbe164
--- /dev/null
+++ b/abs/core/perl_modules/perl-file-sharedir-install/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Sergej Pupykin <arch+pub@sergej.pp.ru>
+# Maintainer: Jason St. John <jstjohn .. purdue . edu>
+# Contributor: AUR Perl <aurperl@juster.info>
+
+pkgname=perl-file-sharedir-install
+pkgver=0.13
+pkgrel=1
+pkgdesc="File::ShareDir::Install - Install read-only data files from a distribution"
+arch=('any')
+url="http://search.cpan.org/dist/File-ShareDir-Install"
+license=('GPL' 'PerlArtistic')
+checkdepends=('perl-test-pod' 'perl-test-pod-coverage')
+options=('!emptydirs')
+source=("http://cpan.org/modules/by-module/File/File-ShareDir-Install-${pkgver}.tar.gz")
+sha256sums=('45befdf0d95cbefe7c25a1daf293d85f780d6d2576146546e6828aad26e580f9')
+
+build() {
+ cd "File-ShareDir-Install-${pkgver}"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "File-ShareDir-Install-${pkgver}"
+ make test
+}
+
+package() {
+ cd "File-ShareDir-Install-${pkgver}"
+ make install DESTDIR="${pkgdir}"
+}