void-packages/srcpkgs/tuxpaint/template
2019-12-09 23:49:51 +01:00

34 lines
1.1 KiB
Bash

# Template file for 'tuxpaint'
pkgname=tuxpaint
version=0.9.23
revision=1
build_style=gnu-makefile
make_build_args="PREFIX=/usr"
conf_files="/etc/tuxpaint/tuxpaint.conf"
hostmakedepends="gperf pkg-config"
makedepends="SDL-devel SDL_image-devel SDL_mixer-devel SDL_ttf-devel cairo-devel
fribidi-devel libpaper-devel librsvg-devel"
depends="tuxpaint-data>=${version}_${revision}"
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=349919c44e0fa252581be6e3242251fb62d20a82c971e99be96d648462bf6926
pre_build() {
vsed -i Makefile -e '/kbuildsycoca4/d' -e s,/etc/bash_completion.d,/usr/share/bash-completion/completions,
}
post_install() {
vinstall src/tuxpaint.desktop 644 usr/share/applications
}
tuxpaint-data_package() {
archs=noarch
short_desc="${short_desc} - data and docs"
pkg_install() {
vmove usr/share/tuxpaint
vmove usr/share/doc
}
}