diff --git a/srcpkgs/tuxpaint/template b/srcpkgs/tuxpaint/template index bacbfa432cb..1113f084e11 100644 --- a/srcpkgs/tuxpaint/template +++ b/srcpkgs/tuxpaint/template @@ -1,7 +1,7 @@ # Template file for 'tuxpaint' pkgname=tuxpaint version=0.9.31 -revision=1 +revision=2 build_style=gnu-makefile conf_files="/etc/tuxpaint/tuxpaint.conf" hostmakedepends="gettext gperf pkg-config ImageMagick" @@ -15,7 +15,6 @@ homepage="https://www.tuxpaint.org/" distfiles="${SOURCEFORGE_SITE}/tuxpaint/${version}/tuxpaint-${version}.tar.gz" checksum=1a85c04fa5c9ae6b3ffd2ca8fa86a84c0c8b462b5059fa1fc2c445b5cfa857ee replaces="tuxpaint-data>=0" -python_version=2 CFLAGS="-D_GNU_SOURCE -D_POSIX_PRIORITY_SCHEDULING" pre_build() { @@ -24,4 +23,7 @@ pre_build() { post_install() { vinstall src/tuxpaint.desktop 644 usr/share/applications + # python 2 + rm "${DESTDIR}/usr/share/doc/tuxpaint-${version}/outdated/zh_tw/mkTuxpaintIM.py" \ + "${DESTDIR}/usr/share/tuxpaint/fonts/locale/zh_tw_docs/maketuxfont.py" }