updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / tuxpaint-config / PKGBUILD
blob5f4f7fb91a48caa190afa33810acae87cb230820
1 # Contributor: royrocks <royrocks13@gmail.com>
2 pkgname=tuxpaint-config
3 pkgver=0.0.12
4 pkgrel=1
5 pkgdesc="Tux Paint configuration tool."
6 arch=(i686 x86_64)
7 url="http://www.tuxpaint.org"
8 license="GPL"
9 depends=('tuxpaint' 'fltk' 'libxft' 'libxext')
10 source=(http://downloads.sourceforge.net/sourceforge/tuxpaint/$pkgname-$pkgver.tar.gz)
11 md5sums=('11ac7654d9670f45c76668317ab6f717')
13 build() {
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