void-packages/srcpkgs/cherrytree/template

26 lines
844 B
Bash
Raw Normal View History

# Template file for 'cherrytree'
pkgname=cherrytree
version=0.35.11
revision=1
noarch=yes
build_style=python-module
hostmakedepends="python-setuptools desktop-file-utils"
depends="pygtksourceview python-dbus python-enchant desktop-file-utils"
pycompile_dirs="usr/share/cherrytree/modules"
short_desc="Hierarchial note taking application with syntax highlighting"
maintainer="Logen K <logen@sudotask.com>"
license="GPL-3"
homepage="http://www.giuspen.com/cherrytree/"
distfiles="http://www.giuspen.com/software/${pkgname}-${version}.tar.xz"
checksum=963befe706e23815955d9feb6861d9d7a7ec9cf0bd8be6d31842ca97fc33adca
post_install() {
# dont install useless egg
rm -rf {DESTDIR}/usr/lib/python2.7/site-packages
# remove old mime registration files
rm -rf ${DESTDIR}/usr/share/application-registry
rm -rf ${DESTDIR}/usr/share/mime-info
}