aboutsummaryrefslogtreecommitdiffstats
path: root/main/quazip/APKBUILD
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-06-03 21:19:27 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2015-06-03 21:19:27 +0200
commit79ffc1e0a6169f5d7137bd44ad5727e22975759f (patch)
treee3d088edfe90357a3f7592cddf907c2652d3c1b6 /main/quazip/APKBUILD
parent5bf3c3c82e7c63d35ee1fe9b9bde05a6b72949b9 (diff)
downloadaports-79ffc1e0a6169f5d7137bd44ad5727e22975759f.tar.bz2
aports-79ffc1e0a6169f5d7137bd44ad5727e22975759f.tar.xz
testing/quazip: move to main
Diffstat (limited to 'main/quazip/APKBUILD')
-rw-r--r--main/quazip/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/main/quazip/APKBUILD b/main/quazip/APKBUILD
new file mode 100644
index 0000000000..483c3e3883
--- /dev/null
+++ b/main/quazip/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=quazip
+pkgver=0.7.1
+pkgrel=1
+pkgdesc="C++ wrapper for the Gilles Vollant's ZIP/UNZIP C package"
+url="http://sourceforge.net/projects/quazip/"
+arch="all"
+license="LGPL"
+depends=""
+depends_dev="qt-dev"
+makedepends="$depends_dev cmake"
+install=""
+subpackages="$pkgname-dev"
+source="http://downloads.sourceforge.net/quazip/quazip-$pkgver.tar.gz"
+
+_builddir="$srcdir"/quazip-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ qmake PREFIX=/usr
+}
+
+package() {
+ cd "$_builddir"
+ make INSTALL_ROOT="${pkgdir}" install
+}
+
+md5sums="3b99effb2a9417707d463e6f19cf2629 quazip-0.7.1.tar.gz"
+sha256sums="78c984103555c51e6f7ef52e3a2128e2beb9896871b2cc4d4dbd4d64bff132de quazip-0.7.1.tar.gz"
+sha512sums="58e044019505075aa89f112672c04c54875d98b353ac5a39b6eb3e1f08ea27bd9900126d902c282b87910e4bae5ab9da79942b9add7a5535625c187331445acc quazip-0.7.1.tar.gz"