aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-09-07 10:00:03 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-09-07 10:15:16 -0300
commit0ed46b7c2c8727a01c979aab73feccebf4875db4 (patch)
treee65020c8207182124a4f8919e227a4ebde1c8972
parent5b73aa8f66e92c0c25d611ac2a246bbf022325d5 (diff)
downloadaports-0ed46b7c2c8727a01c979aab73feccebf4875db4.tar.bz2
aports-0ed46b7c2c8727a01c979aab73feccebf4875db4.tar.xz
testing/zim: upgrade to 0.72.0
-rw-r--r--testing/zim/APKBUILD24
1 files changed, 10 insertions, 14 deletions
diff --git a/testing/zim/APKBUILD b/testing/zim/APKBUILD
index 2f035cddda..53dd40c4c9 100644
--- a/testing/zim/APKBUILD
+++ b/testing/zim/APKBUILD
@@ -1,31 +1,27 @@
# Contributor: Adam Nye <adam@spoontech.biz>
# Maintainer: Adam Nye <adam@spoontech.biz>
pkgname=zim
-pkgver=0.69
+pkgver=0.72.0
pkgrel=0
pkgdesc="Desktop wiki editor"
+options="!check" # Tests broken starting with 0.71.0
url="http://zim-wiki.org"
arch="all"
license="GPL-2.0-or-later"
-depends="python2 py-gobject py-xdg py-gtk py2-simplejson xdg-utils"
+depends="python3 py3-gobject3 py3-xdg xdg-utils gtk+3.0"
makedepends="desktop-file-utils"
subpackages="$pkgname-doc $pkgname-lang"
-source="http://zim-wiki.org/downloads/$pkgname-$pkgver.tar.gz"
-builddir="$srcdir/$pkgname-$pkgver"
+source="http://zim-wiki.org/downloads/zim-$pkgver.tar.gz"
build() {
- cd "$builddir"
- python2 setup.py build
-}
-
-check() {
- cd "$builddir"
- python2 setup.py check
+ python3 setup.py build
}
package() {
- cd "$builddir"
- python2 setup.py install --prefix=/usr --root="$pkgdir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+
+ install -dm755 "$pkgdir"/usr/share/icons
+ cp -r xdg/hicolor "$pkgdir"/usr/share/icons
}
-sha512sums="452b2119d63927765c3807dbbdfadea94be31ee7fd3eb9b8cf79e8699c57478ec9cd392299a6e1dc3690dbe520925cddf5fca4596db809a2cc296bb6669d12af zim-0.69.tar.gz"
+sha512sums="442914d71935c64a4201a20cddd764ba6fafe96dc2f261f192eb57ba81f58b5360a82f76a865347a27578ae3d90340b2b77ae4a2fad6f7a28e6a2e3ea820ed7e zim-0.72.0.tar.gz"