26 lines
930 B
Bash
26 lines
930 B
Bash
# Template file for 'tuxpaint'
|
|
pkgname=tuxpaint
|
|
version=0.9.28
|
|
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}-sdl2.tar.gz"
|
|
checksum=4f1ed9330feab324070b93630d79ced50ccc4816ab76750119f012b5d904709d
|
|
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
|
|
}
|