diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-04-14 14:57:25 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-04-14 14:57:25 (GMT) |
commit | 51a8bb6fe3ec608f5203a3a1dca970c4481a9749 (patch) | |
tree | d5fbe2dde714b2c57881e60e8153372babe6723a | |
parent | 3abdf6c0a9f048487dbdc9c1595514e16f12eb51 (diff) | |
download | linhes_pkgbuild-51a8bb6fe3ec608f5203a3a1dca970c4481a9749.zip linhes_pkgbuild-51a8bb6fe3ec608f5203a3a1dca970c4481a9749.tar.gz linhes_pkgbuild-51a8bb6fe3ec608f5203a3a1dca970c4481a9749.tar.bz2 |
perl-inc-latest: dep of perl-module-build
-rw-r--r-- | abs/core/perl_modules/perl-inc-latest/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/abs/core/perl_modules/perl-inc-latest/PKGBUILD b/abs/core/perl_modules/perl-inc-latest/PKGBUILD new file mode 100644 index 0000000..da7a350 --- /dev/null +++ b/abs/core/perl_modules/perl-inc-latest/PKGBUILD @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> + +pkgname=perl-inc-latest +pkgver=0.500 +pkgrel=3 +pkgdesc="Build, test, and install Perl modules" +arch=('any') +url="https://github.com/dagolden/inc-latest" +license=('Apache') +depends=('perl') +checkdepends=('perl-cpan-meta') +options=('!emptydirs') +source=("http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/inc-latest-$pkgver.tar.gz") +sha512sums=('b312d1dfce963322796bc0127f0ecd82c12baacf9e5df40d9acc093221edd80f3696ce6d9f185ed24b21983147363d1d0ff3e273b8b5ce7559a6f16983a1385c') + +build() { + cd inc-latest-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd inc-latest-$pkgver + make test +} + +package() { + cd inc-latest-$pkgver + make install DESTDIR="$pkgdir" +} |