desktop/zziplib/PKGBUILD

39 lines
982 B
Bash
Raw Normal View History

2011-02-26 22:58:38 +08:00
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=zziplib
pkgver=0.13.58
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=('a0f743a5a42ca245b2003ecaea958487')
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
}