# Maintainer: Jesus E. pkgname=zim pkgver=0.75.2 pkgrel=2 pkgdesc="A WYSIWYG text editor that aims at bringing the concept of a wiki to the desktop." arch=('any') license=('GPL-2') url='https://zim-wiki.org/' depends=('python' 'python-pygobject' 'ttf-font' 'gtk' 'python-pyxdg') optdepends=('bzr: Version Control plugin' 'git-legacy: Version Control plugin' 'mercurial: Version Control plugin' 'gnuplot: Insert Gnuplot plugin' 'graphviz: Insert Diagram plugin' 'scrot: Insert Screenshot plugin' 'gtksourceview3: Source View plugin') source=("https://www.zim-wiki.org/downloads/${pkgname}-${pkgver}.tar.gz") sha512sums=('655da27bd4779914c15f27eeddeb2779338534ba89a0b5c814c9ea93599a50c54d3c78f592cc81a1026cfaf40cd242ea7cf7eff75c154fafcd7651ad27088f85') package() { cd "${srcdir}/${pkgname}-${pkgver}" python setup.py install --root="${pkgdir}" --optimize=1 install -dm755 "$pkgdir/usr/share/icons/" cp -r xdg/hicolor/ "$pkgdir/usr/share/icons/" install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/$pkgname" }