desktop/quazip/PKGBUILD
2014-08-25 03:32:15 +00:00

28 lines
788 B
Bash

# Maintainer: UtG <utg[dot]chakra.linux[at]gmail[dot]com>
# Contributor: Andrei Nistor <coder[dot]tux[at]chakra-project[dot]org>
pkgname=quazip
pkgver=0.7
pkgrel=1
pkgdesc="C++ wrapper for the Gilles Vollant's ZIP/UNZIP C package"
url="http://sourceforge.net/projects/quazip/"
license=('LGPL')
arch=('x86_64')
depends=('qt')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
md5sums=('52a9d807934ce4e9c30ead677a3148d2')
build() {
cd ${srcdir}/${pkgname}-${pkgver}/${pkgname}
qmake PREFIX=/usr
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}/${pkgname}
make INSTALL_ROOT="${pkgdir}" install
install -d "${pkgdir}"/usr/share/apps/cmake-3.0/Modules
install -m644 ../FindQuaZip.cmake\
"${pkgdir}"/usr/share/apps/cmake-3.0/Modules
}