Skip to content

Commit 9fb65b7

Browse files
committed
New package: tuxpaint-config-0.0.21
1 parent 8f4acd5 commit 9fb65b7

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

srcpkgs/tuxpaint-config/template

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Template file for 'tuxpaint-config'
2+
pkgname=tuxpaint-config
3+
version=0.0.21
4+
revision=1
5+
build_style=gnu-makefile
6+
make_build_args="PREFIX=/usr"
7+
make_install_args="PREFIX=/usr"
8+
hostmakedepends="pkg-config gettext"
9+
makedepends="fltk-devel libpaper-devel libunibreak-devel"
10+
depends="tuxpaint"
11+
short_desc="Configuration tool for Tux Paint"
12+
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
13+
license="GPL-2.0-or-later"
14+
homepage="https://www.tuxpaint.org/"
15+
changelog="https://tuxpaint.org/docs/tuxpaint-config-CHANGES.txt"
16+
distfiles="${SOURCEFORGE_SITE}/tuxpaint/tuxpaint-config-${version}.tar.gz"
17+
checksum=5287de38944c302a7eaa069c8f5de635b95d82912e6cdf195c66366bf3431ae8
18+
19+
post_install() {
20+
# Install desktop file if not included
21+
if [ ! -f "${DESTDIR}/usr/share/applications/tuxpaint-config.desktop" ]; then
22+
vmkdir usr/share/applications
23+
cat > "${DESTDIR}/usr/share/applications/tuxpaint-config.desktop" <<-EOF
24+
[Desktop Entry]
25+
Type=Application
26+
Name=Tux Paint Config
27+
Comment=Configure Tux Paint
28+
Exec=tuxpaint-config
29+
Icon=tuxpaint-config
30+
Categories=Settings;
31+
EOF
32+
fi
33+
}

0 commit comments

Comments
 (0)