mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-09 21:37:14 +08:00
28 lines
713 B
Bash
28 lines
713 B
Bash
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
|
|
|
|
pkgname=perl-archive-zip
|
|
_realname=Archive-Zip
|
|
pkgver=1.31.4
|
|
_pkgver=1.31_04
|
|
pkgrel=2
|
|
pkgdesc="Provide a perl interface to ZIP archive files"
|
|
arch=(any)
|
|
license=('GPL' 'PerlArtistic')
|
|
url="http://search.cpan.org/dist/${_realname}/"
|
|
depends=('perl')
|
|
options=('!emptydirs')
|
|
source=(http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/${_realname}-${_pkgver}.tar.gz)
|
|
md5sums=('491adb57024059e74767bb56040c2ecb')
|
|
|
|
build() {
|
|
cd ${srcdir}/${_realname}-${_pkgver}
|
|
# install module in vendor directories.
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/${_realname}-${_pkgver}
|
|
make install DESTDIR=${pkgdir}
|
|
}
|