1 # Contributor: royrocks <royrocks13@gmail.com>
2 pkgname=tuxpaint-config
5 pkgdesc="Tux Paint configuration tool."
7 url="http://www.tuxpaint.org"
9 depends=('tuxpaint' 'fltk' 'libxft' 'libxext')
10 source=(http://downloads.sourceforge.net/sourceforge/tuxpaint/$pkgname-$pkgver.tar.gz)
11 md5sums=('11ac7654d9670f45c76668317ab6f717')
14 cd $startdir/src/$pkgname-$pkgver
15 install -d -m755 $startdir/pkg/usr/bin/
16 install -d -m644 $startdir/pkg/opt/kde/share/icons/hicolor/48x48/apps/
17 install -d -m644 $startdir/pkg/opt/kde/share/icons/hicolor/32x32/apps/
18 install -d -m644 $startdir/pkg/opt/kde/share/icons/hicolor/16x16/apps/
19 make PREFIX=/usr || return 1
20 make PREFIX=$startdir/pkg/usr DESTDIR=$startdir/pkg KDE_PREFIX=$startdir/pkg/opt/kde KDE_ICON_PREFIX=$startdir/pkg/opt/kde/share/icons install
21 install -D -m644 src/tuxpaint-config.desktop $startdir/pkg/usr/share/applications/tuxpaint-config.desktop