summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeniy Alekseev2016-09-06 11:48:24 +0300
committerEvgeniy Alekseev2016-09-06 11:48:24 +0300
commit332458188309d3a73d6f4dab5dca1b0a22c45c9a (patch)
treef650dd7426267d0ebd5add8454b8bf8cc47ce4d9
downloadaur-quazip-qt4.tar.gz
upload quazip-qt4
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD33
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..dd7e727e9ec
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+# Generated by mksrcinfo v8
+# Tue Sep 6 08:48:15 UTC 2016
+pkgbase = quazip-qt4
+ pkgdesc = C++ wrapper for the Gilles Vollant's ZIP/UNZIP C package, qt4 version
+ pkgver = 0.7.2
+ pkgrel = 1
+ url = http://sourceforge.net/projects/quazip/
+ arch = i686
+ arch = x86_64
+ license = LGPL
+ makedepends = cmake
+ depends = qt4
+ source = http://downloads.sourceforge.net/quazip/quazip-0.7.2.tar.gz
+ md5sums = 84163487a4c3470781c93e5f56c4ca43
+
+pkgname = quazip-qt4
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9d641ae8f86
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Evgeniy Alekseev <arcanis at archlinux dot org>
+# Contributor: Felix Yan <felixonmars at archlinux dot org>
+# Contributor: Andrea Scarpino <andrea at archlinux dot org>
+# Contributor: trya <tryagainprod at gmail dot com>
+
+pkgname=quazip-qt4
+_pkgname=quazip
+pkgver=0.7.2
+pkgrel=1
+pkgdesc="C++ wrapper for the Gilles Vollant's ZIP/UNZIP C package, qt4 version"
+url="http://sourceforge.net/projects/quazip/"
+license=('LGPL')
+arch=('i686' 'x86_64')
+depends=(qt4)
+makedepends=(cmake)
+source=("http://downloads.sourceforge.net/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+md5sums=('84163487a4c3470781c93e5f56c4ca43')
+
+prepare() {
+ rm -rf build
+ mkdir build
+}
+
+build() {
+ cd build
+ cmake "../${_pkgname}-${pkgver}" -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_WITH_QT4:BOOL=ON -DCMAKE_CXX_FLAGS="${CFLAGS} -fPIC"
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}