25 lines
848 B
Bash
25 lines
848 B
Bash
# Template file for 'cherrytree'
|
||
pkgname=cherrytree
|
||
version=0.38.5
|
||
revision=1
|
||
noarch=yes
|
||
build_style=python2-module
|
||
hostmakedepends="python-devel 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.0-or-later"
|
||
homepage="http://www.giuspen.com/cherrytree/"
|
||
distfiles="http://www.giuspen.com/software/${pkgname}-${version}.tar.xz"
|
||
checksum=defc3bb0e366ab56f2184fbcf6369e983ad028c5e20ae4ae11cd8fba495843c9
|
||
|
||
post_install() {
|
||
# don’t 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
|
||
}
|