aboutsummaryrefslogtreecommitdiffstats
path: root/main/quazip/APKBUILD
blob: 483c3e38839a4dbd1b7dd3f3dda41c14dc8795f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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"