diff options
author | Erich Eckner <git@eckner.net> | 2016-04-08 14:30:18 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-04-11 11:29:20 +0200 |
commit | 4b97ef2c0428277d8582017f5de65c5f9d1f3436 (patch) | |
tree | ee4ecde4e90f552a77800cf073fbdf83e0fdc6b8 | |
parent | d05335b187c876aa95c6a0275a328340f252f9b3 (diff) | |
download | archlinuxewe-4b97ef2c0428277d8582017f5de65c5f9d1f3436.tar.xz |
perl-file-sharedir-install neu
-rw-r--r-- | perl-file-sharedir-install/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/perl-file-sharedir-install/PKGBUILD b/perl-file-sharedir-install/PKGBUILD new file mode 100644 index 000000000..f6c1847e2 --- /dev/null +++ b/perl-file-sharedir-install/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Jason St. John <jstjohn .. purdue . edu> +# Contributor: AUR Perl <aurperl@juster.info> + +_perlmod=File-ShareDir-Install +_modnamespace=File +pkgname=perl-file-sharedir-install +pkgver=0.10 +pkgrel=1 +pkgdesc="File::ShareDir::Install - Install read-only data files from a distribution" +arch=('x86_64' 'i686') +url="http://search.cpan.org/dist/${_perlmod}" +license=('GPL' 'PerlArtistic') +checkdepends=('perl-test-pod' 'perl-test-pod-coverage') +options=('!emptydirs') +source=("http://cpan.org/modules/by-module/${_modnamespace}/${_perlmod}-${pkgver}.tar.gz") +sha512sums=('96c3a94da78e51c97223f16892c6bdb6a93f9602643aca6ee73fd661aefb0a018938f03b8265f255dc3daba467e01a2d2a924f33a5e1e4d2e9c9fe2698a3d09f') + +build() { + cd "${_perlmod}-${pkgver}" + + # Install module in vendor directories. + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "${_perlmod}-${pkgver}" + make test +} + +package() { + cd "${_perlmod}-${pkgver}" + make install DESTDIR="${pkgdir}" +} |