desktop/quazip/PKGBUILD

31 lines
770 B
Bash

#
# Apps Packages for Chakra, part of chakra-project.org
#
# maintainer Andrei Nistor <coder[dot]tux[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=quazip
pkgver=0.4.3
pkgrel=1
pkgdesc="C++ wrapper for the Gilles Vollant's ZIP/UNZIP C package"
url="http://sourceforge.net/projects/quazip/"
arch=('i686' 'x86_64')
depends=('qt')
source=("http://downloads.sourceforge.net/project/quazip/quazip/${pkgver}/quazip-${pkgver}.tar.gz")
license=('LGPL')
md5sums=('5e548a988d059430930b61330b5bfade')
build() {
cd ${srcdir}/quazip-${pkgver}/quazip
qmake PREFIX=${pkgdir}/usr
make
make staticlib
}
package() {
cd ${srcdir}/quazip-${pkgver}/quazip
make install
cp libquazip.a ${pkgdir}/usr/lib
}