summaryrefslogtreecommitdiff
path: root/testing/zim/APKBUILD
blob: 9c1ea7374e49d8061f201190f9e26682d8cb5de6 (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
# Contributor: Adam Nye <adam@spoontech.biz>
# Maintainer: Adam Nye <adam@spoontech.biz>
pkgname=zim
pkgver=0.67
pkgrel=0
pkgdesc="A Desktop Wiki Editor"
url="http://zim-wiki.org/"
arch="all"
license="GPL2"
depends="python2 py-gobject py-xdg py-gtk py2-simplejson xdg-utils"
makedepends="desktop-file-utils"
subpackages="$pkgname-doc $pkgname-lang"
source="http://zim-wiki.org/downloads/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	python2 setup.py build
}

check() {
	cd "$builddir"
	python2 setup.py check
}

package() {
	cd "$builddir"
	python2 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="0f3387a74a9d6a1e972b4ad411230b9318c58432bd853ef6d45cd535dcdef901369a70dd619b842f1e6564a4b583075865d30acb75cc7649facf5acfe43d8b94  zim-0.67.tar.gz"