27 lines
995 B
Bash
27 lines
995 B
Bash
# Template file for 'tuxpaint'
|
|
pkgname=tuxpaint
|
|
version=0.9.29
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
conf_files="/etc/tuxpaint/tuxpaint.conf"
|
|
hostmakedepends="gettext gperf pkg-config ImageMagick"
|
|
makedepends="SDL2-devel SDL2_image-devel SDL2_mixer-devel SDL2_ttf-devel cairo-devel
|
|
SDL2_gfx-devel fribidi-devel libimagequant-devel libpaper-devel librsvg-devel"
|
|
short_desc="Free, award-winning drawing program for children ages 3 to 12"
|
|
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://www.tuxpaint.org/"
|
|
distfiles="${SOURCEFORGE_SITE}/tuxpaint/${version}/tuxpaint-${version}.tar.gz"
|
|
checksum=575403c54c7243e5b269a71fc1aa0738e3937764787e2acf89686bd77c5ae6ca
|
|
replaces="tuxpaint-data>=0"
|
|
python_version=2
|
|
|
|
pre_build() {
|
|
vsed -i Makefile -e s,/etc/bash_completion.d,/usr/share/bash-completion/completions,
|
|
}
|
|
|
|
post_install() {
|
|
vinstall src/tuxpaint.desktop 644 usr/share/applications
|
|
rm "${DESTDIR}/usr/share/doc/tuxpaint-0.9.29/en/tp_magic_example.so"
|
|
}
|