desktop/quazip/PKGBUILD

28 lines
728 B
Bash
Raw Normal View History

#Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/quazip
pkgname=quazip
2016-04-08 21:16:34 +08:00
pkgver=0.7.2
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=(qt5-base)
makedepends=(cmake)
replaces=(quazip-qt4)
provides=(quazip-qt4)
conflicts=(quazip-qt4)
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
2016-04-08 21:16:34 +08:00
md5sums=('84163487a4c3470781c93e5f56c4ca43')
build() {
cd $pkgbase-$pkgver
2016-04-08 21:16:34 +08:00
cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_WITH_QT4:BOOL=OFF -DCMAKE_CXX_FLAGS="$CFLAGS -fPIC"
make
}
package() {
cd $pkgbase-$pkgver
make DESTDIR="$pkgdir" install
2015-02-15 22:52:04 +08:00
}