26 lines
935 B
Bash
26 lines
935 B
Bash
# Template file for 'tuxpaint'
|
|
pkgname=tuxpaint
|
|
version=0.9.26
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
make_build_args="PREFIX=/usr"
|
|
conf_files="/etc/tuxpaint/tuxpaint.conf"
|
|
hostmakedepends="gettext gperf pkg-config ImageMagick"
|
|
makedepends="SDL-devel SDL_image-devel SDL_mixer-devel SDL_ttf-devel cairo-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="http://www.tuxpaint.org/"
|
|
distfiles="${SOURCEFORGE_SITE}/tuxpaint/${version}/tuxpaint-${version}.tar.gz"
|
|
checksum=4aa83eb2e67bfc7e3493366d0ea231da46b9e6a9c552bf267ec868241fffa8f1
|
|
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
|
|
}
|