mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
35 lines
910 B
Bash
35 lines
910 B
Bash
# 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
|
|
}
|