aboutsummaryrefslogtreecommitdiffstats
path: root/testing/zim/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-10-04 08:36:46 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-10-04 09:09:20 +0000
commit4dbdff7d2ef6ad769944302cbc1d00ab185ccf69 (patch)
treea62a273b2c3d9684b6c8eee324fdcc33fbf12a4a /testing/zim/APKBUILD
parent0972ed90d0137196349dba4f93f3546400200a36 (diff)
downloadaports-4dbdff7d2ef6ad769944302cbc1d00ab185ccf69.tar.gz
aports-4dbdff7d2ef6ad769944302cbc1d00ab185ccf69.tar.bz2
aports-4dbdff7d2ef6ad769944302cbc1d00ab185ccf69.tar.xz
testing/zim: upgrade to 0.67, added check()
Diffstat (limited to 'testing/zim/APKBUILD')
-rw-r--r--testing/zim/APKBUILD17
1 files changed, 11 insertions, 6 deletions
diff --git a/testing/zim/APKBUILD b/testing/zim/APKBUILD
index 7b3a1c0b23..9c1ea7374e 100644
--- a/testing/zim/APKBUILD
+++ b/testing/zim/APKBUILD
@@ -1,26 +1,31 @@
# Contributor: Adam Nye <adam@spoontech.biz>
# Maintainer: Adam Nye <adam@spoontech.biz>
pkgname=zim
-pkgver=0.66
+pkgver=0.67
pkgrel=0
pkgdesc="A Desktop Wiki Editor"
url="http://zim-wiki.org/"
arch="all"
license="GPL2"
-depends="python py-gobject py-xdg py-gtk py-simplejson xdg-utils"
+depends="python2 py-gobject py-xdg py-gtk py2-simplejson xdg-utils"
makedepends="desktop-file-utils"
-subpackages="$pkgname-doc"
+subpackages="$pkgname-doc $pkgname-lang"
source="http://zim-wiki.org/downloads/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
- python setup.py build
+ python2 setup.py build
+}
+
+check() {
+ cd "$builddir"
+ python2 setup.py check
}
package() {
cd "$builddir"
- python setup.py install --prefix=/usr --root="$pkgdir"
+ python2 setup.py install --prefix=/usr --root="$pkgdir"
}
-sha512sums="9693dba8ee6ad915a85ca999674350b278043559ba4adf93c03c8815211ecab451a6e2dceaf62ea7048609eb86f19485f2dd77dbaaf6f2d81f97f6450bf25ca9 zim-0.66.tar.gz"
+sha512sums="0f3387a74a9d6a1e972b4ad411230b9318c58432bd853ef6d45cd535dcdef901369a70dd619b842f1e6564a4b583075865d30acb75cc7649facf5acfe43d8b94 zim-0.67.tar.gz"