mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 01:57:17 +08:00
27 lines
677 B
Bash
27 lines
677 B
Bash
# Platform packages for Chakra
|
|
|
|
pkgname=perl-archive-zip
|
|
_realname=Archive-Zip
|
|
pkgver=1.31_02
|
|
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>=5.14.2')
|
|
options=('!emptydirs')
|
|
source=(http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/${_realname}-${pkgver}.tar.gz)
|
|
md5sums=('357725f70a98aa361598ac595af9599f')
|
|
|
|
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}
|
|
}
|