tuxpaint-data: move into tuxpaint

This commit is contained in:
Piotr Wójcik 2020-09-21 21:56:19 +02:00
parent 5166539fd5
commit 3329d98dbf
2 changed files with 3 additions and 13 deletions

View file

@ -1 +0,0 @@
tuxpaint

View file

@ -1,20 +1,21 @@
# Template file for 'tuxpaint'
pkgname=tuxpaint
version=0.9.24
revision=1
revision=2
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 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=8762572f55f335aaa6329106282bebf171e7305f796fa7b5aad3cd78c5a3a11a
replaces="tuxpaint-data>=0"
python_version=2
pre_build() {
vsed -i Makefile -e s,/etc/bash_completion.d,/usr/share/bash-completion/completions,
@ -23,13 +24,3 @@ pre_build() {
post_install() {
vinstall src/tuxpaint.desktop 644 usr/share/applications
}
tuxpaint-data_package() {
archs=noarch
short_desc="${short_desc} - data and docs"
python_version=2
pkg_install() {
vmove usr/share/tuxpaint
vmove usr/share/doc
}
}