From 85e0e667660650d70269432a90401d4288776d9d Mon Sep 17 00:00:00 2001 From: root Date: Tue, 6 Nov 2012 02:13:31 -0800 Subject: Tue Nov 6 02:09:19 PST 2012 --- community/tuxpaint-config/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 community/tuxpaint-config/PKGBUILD (limited to 'community/tuxpaint-config') diff --git a/community/tuxpaint-config/PKGBUILD b/community/tuxpaint-config/PKGBUILD new file mode 100644 index 000000000..26c9ae9c8 --- /dev/null +++ b/community/tuxpaint-config/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 79472 2012-11-06 00:37:14Z arodseth $ +# Maintainer: Alexander Rødseth +# Contributor: royrocks + +pkgname=tuxpaint-config +pkgver=0.0.12 +pkgrel=2 +pkgdesc='Tux Paint configuration tool' +arch=('x86_64' 'i686') +url='http://www.tuxpaint.org' +license='GPL' +depends=('tuxpaint' 'fltk' 'libxft' 'libxext') +source=("http://downloads.sourceforge.net/sourceforge/tuxpaint/$pkgname-$pkgver.tar.gz") +sha256sums=('9395a1c92e52c3420cabaa0c781b607e6832b5d9b6180902615f102216e1c8fd') + +build() { + cd $srcdir/$pkgname-$pkgver + + make PREFIX=/usr +} + +package() { + cd $srcdir/$pkgname-$pkgver + + install -d -m755 $pkgdir/usr/bin/ + install -d -m644 $pkgdir/opt/kde/share/icons/hicolor/48x48/apps/ + install -d -m644 $pkgdir/opt/kde/share/icons/hicolor/32x32/apps/ + install -d -m644 $pkgdir/opt/kde/share/icons/hicolor/16x16/apps/ + + make PREFIX=$pkgdir/usr DESTDIR=$pkgdir KDE_PREFIX=$pkgdir/opt/kde \ + KDE_ICON_PREFIX=$pkgdir/opt/kde/share/icons install + + install -D -m644 src/tuxpaint-config.desktop \ + $pkgdir/usr/share/applications/tuxpaint-config.desktop +} + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3-54-g00ecf