diff options
author | yar | 2016-12-13 11:16:49 -0800 |
---|---|---|
committer | yar | 2016-12-13 11:25:06 -0800 |
commit | a5b7c089b58d04dd532c2d9116684b43d900f759 (patch) | |
tree | a79a03bf03a616e050bdb7738656175e2ae0d6c1 /PKGBUILD | |
download | aur-a5b7c089b58d04dd532c2d9116684b43d900f759.tar.gz |
init HTML-Packer 2.03
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7530afe58f9b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Yardena Cohen <yardenack at gmail dot com> + +cpaname=HTML-Packer +cpanauthor=LEEJO +pkgname=perl-html-packer +pkgver=2.03 +pkgrel=1 +pkgdesc="Perl HTML::Packer CPAN module" +arch=('any') +url="http://search.cpan.org/dist/${cpaname}/" +license=('unknown') +options=('!emptydirs') +depends=('perl') +source=("http://www.cpan.org/authors/id/${cpanauthor::1}/${cpanauthor::2}/${cpanauthor}/${cpaname}-${pkgver}.tar.gz") +sha256sums=('c5bb794585c8e5d6ba6aef149d31fbc2db31a60ac615f503f7cfc69752ebf106') + +build() { + cd "${srcdir}/${cpaname}-${pkgver}" + perl Makefile.PL + make +} + +check() { + cd "${srcdir}/${cpaname}-${pkgver}" + make test +} + +package () { + cd "${srcdir}/${cpaname}-${pkgver}" + make install INSTALLDIRS=vendor DESTDIR="${pkgdir}" +} |