mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
added extra/perl-archive-zip
This commit is contained in:
parent
6391072caf
commit
85fa002a56
1 changed files with 35 additions and 0 deletions
35
extra/perl-archive-zip/PKGBUILD
Normal file
35
extra/perl-archive-zip/PKGBUILD
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
||||||
|
# Contributor: Allan McRae <allan@archlinux.org>
|
||||||
|
# Contributor: Andrew Simmons <andrew.simmons@gmail.com>
|
||||||
|
|
||||||
|
# remove when bumped upstream
|
||||||
|
|
||||||
|
pkgname=perl-archive-zip
|
||||||
|
pkgver=1.67
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Provide a perl interface to ZIP archive files"
|
||||||
|
arch=('any')
|
||||||
|
license=('GPL' 'PerlArtistic')
|
||||||
|
url="https://search.cpan.org/dist/Archive-Zip/"
|
||||||
|
depends=('perl')
|
||||||
|
checkdepends=('perl-test-mockmodule')
|
||||||
|
options=('!emptydirs')
|
||||||
|
source=(https://search.cpan.org/CPAN/authors/id/P/PH/PHRED/Archive-Zip-${pkgver}.tar.gz)
|
||||||
|
sha512sums=('e6e9960b3453831aa11b4b530beb76da4696e6478f21d21dc41f0b666252aac7f8d37bcff7c7691b8e0561aeac00503d8a6e72a6905c685a0315bf047642d42c')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd Archive-Zip-${pkgver}
|
||||||
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd Archive-Zip-${pkgver}
|
||||||
|
make test
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd Archive-Zip-${pkgver}
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
}
|
Loading…
Reference in a new issue