void-packages/srcpkgs/cherrytree/template

25 lines
852 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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