# Contributor: Adam Nye # Maintainer: Adam Nye pkgname=zim 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="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/zim-$pkgver.tar.gz" build() { python3 setup.py build } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" install -dm755 "$pkgdir"/usr/share/icons cp -r xdg/hicolor "$pkgdir"/usr/share/icons } sha512sums="442914d71935c64a4201a20cddd764ba6fafe96dc2f261f192eb57ba81f58b5360a82f76a865347a27578ae3d90340b2b77ae4a2fad6f7a28e6a2e3ea820ed7e zim-0.72.0.tar.gz"