diff --git a/srcpkgs/cherrytree/template b/srcpkgs/cherrytree/template new file mode 100644 index 00000000000..2adcdab39f3 --- /dev/null +++ b/srcpkgs/cherrytree/template @@ -0,0 +1,25 @@ +# Template file for 'cherrytree' +pkgname=cherrytree +version=0.35.10 +revision=1 +noarch=yes +build_style=python-module +hostmakedepends="python-setuptools desktop-file-utils" +depends="pygtksourceview python-dbus desktop-file-utils" +pycompile_dirs="usr/share/cherrytree/modules" +short_desc="Hierarchial note taking application with syntax highlighting" +maintainer="Logen K " +license="GPL-3" +homepage="http://www.giuspen.com/cherrytree/" +distfiles="http://www.giuspen.com/software/${pkgname}-${version}.tar.xz" +checksum=34ed912074387a3a1e7b6b07d3b231b6a9c11165bbe52cbebf13b3b0ee46de12 + + +post_install() { + # don’t 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 +}