mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 12:57:14 +08:00
zziplib: move to pf, bump to 0.13.62
This commit is contained in:
parent
b1d7b4b580
commit
a8d277f2d5
37
zziplib/PKGBUILD
Normal file
37
zziplib/PKGBUILD
Normal file
@ -0,0 +1,37 @@
|
||||
#
|
||||
# Chakra Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
||||
# Drake Justice <djustice@chakra-project.org>
|
||||
#
|
||||
|
||||
pkgname=zziplib
|
||||
pkgver=0.13.62
|
||||
pkgrel=1
|
||||
pkgdesc="A lightweight library that offers the ability to easily extract data from files archived in a single zip file"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://zziplib.sourceforge.net"
|
||||
license=('LGPL' 'MPL')
|
||||
depends=('zlib')
|
||||
makedepends=('python')
|
||||
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
|
||||
md5sums=('5fe874946390f939ee8f4abe9624b96c')
|
||||
options=('!libtool')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
|
||||
export PYTHON=/usr/bin/python2
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install
|
||||
|
||||
#fix permission
|
||||
chmod -s ${pkgdir}/usr/share/man/man3
|
||||
chmod 644 ${pkgdir}/usr/share/man/man3/*
|
||||
chown -R root:root ${pkgdir}/usr/share/man/man3
|
||||
}
|
Loading…
Reference in New Issue
Block a user