Skip to content

Commit

Permalink
perl-inc-latest: New package
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexpux committed Feb 14, 2018
1 parent 8b49ee1 commit a3c95e8
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions perl-inc-latest/PKGBUILD
@@ -0,0 +1,31 @@
# Maintainer: Alexey Pavlov <alexpux@gmail.com>

_realname=inc-latest
pkgname=perl-${_realname}
pkgver=0.500
pkgrel=1
pkgdesc="Build, test, and install Perl modules"
arch=('any')
license=('Apache')
options=('!emptydirs')
depends=('perl>=5.8.8')
url="https://github.com/dagolden/inc-latest"
groups=('perl-modules')
source=("http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/${_realname}-${pkgver}.tar.gz")
sha256sums=('daa905f363c6a748deb7c408473870563fcac79b9e3e95b26e130a4a8dc3c611')

build() {
cd ${srcdir}/${_realname}-${pkgver}
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}

check() {
cd ${srcdir}/${_realname}-${pkgver}
make test
}

package() {
cd ${srcdir}/${_realname}-${pkgver}
make DESTDIR="${pkgdir}" install
}

0 comments on commit a3c95e8

Please sign in to comment.