File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments