2016-02-25 21:32:07 +08:00
|
|
|
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/zziplib
|
2012-08-18 04:11:35 +08:00
|
|
|
|
|
|
|
pkgname=zziplib
|
|
|
|
pkgver=0.13.62
|
2016-02-25 21:32:07 +08:00
|
|
|
pkgrel=3
|
2012-08-18 04:11:35 +08:00
|
|
|
pkgdesc="A lightweight library that offers the ability to easily extract data from files archived in a single zip file"
|
2016-02-25 21:32:07 +08:00
|
|
|
arch=('x86_64')
|
2012-08-18 04:11:35 +08:00
|
|
|
url="http://zziplib.sourceforge.net"
|
|
|
|
license=('LGPL' 'MPL')
|
|
|
|
depends=('zlib')
|
2016-02-25 21:32:07 +08:00
|
|
|
makedepends=('python2')
|
2012-08-18 04:11:35 +08:00
|
|
|
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
|
|
|
|
md5sums=('5fe874946390f939ee8f4abe9624b96c')
|
|
|
|
|
|
|
|
build() {
|
2016-02-25 21:32:07 +08:00
|
|
|
cd ${pkgname}-${pkgver}
|
2012-08-18 04:11:35 +08:00
|
|
|
|
|
|
|
export PYTHON=/usr/bin/python2
|
|
|
|
./configure --prefix=/usr
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2016-02-25 21:32:07 +08:00
|
|
|
cd ${pkgname}-${pkgver}
|
2012-08-18 04:11:35 +08:00
|
|
|
make DESTDIR=${pkgdir} install
|
|
|
|
|
|
|
|
#fix permission
|
2016-02-25 21:32:07 +08:00
|
|
|
chmod -s "${pkgdir}/usr/share/man/man3"
|
|
|
|
chmod 644 "${pkgdir}"/usr/share/man/man3/*
|
|
|
|
chown -R root:root "${pkgdir}/usr/share/man/man3"
|
2012-08-18 04:11:35 +08:00
|
|
|
}
|