summaryrefslogtreecommitdiff
path: root/community/tuxpaint-config
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-11-06 02:13:31 -0800
committerroot <root@rshg054.dnsready.net>2012-11-06 02:13:31 -0800
commit85e0e667660650d70269432a90401d4288776d9d (patch)
tree7d6e665bf13e57be14c60b14512dd322c97874e8 /community/tuxpaint-config
parentc973e7aa43bb6c3bb4e25503eea40ddee63fcefd (diff)
Tue Nov 6 02:09:19 PST 2012
Diffstat (limited to 'community/tuxpaint-config')
-rw-r--r--community/tuxpaint-config/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
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 <rodseth@gmail.com>
+# Contributor: royrocks <royrocks13@gmail.com>
+
+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: