summaryrefslogtreecommitdiff
path: root/community/tktheme/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/tktheme/PKGBUILD')
-rw-r--r--community/tktheme/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/community/tktheme/PKGBUILD b/community/tktheme/PKGBUILD
new file mode 100644
index 000000000..910ce9557
--- /dev/null
+++ b/community/tktheme/PKGBUILD
@@ -0,0 +1,24 @@
+# $Id: PKGBUILD 20038 2010-07-02 09:20:20Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: slubman <slubman@slubman.net>
+
+pkgname=tktheme
+pkgver=0.23
+pkgrel=6
+pkgdesc="A library to allow Tkabber docking in the system tray."
+arch=('i686' 'x86_64')
+depends=('tk' 'libxpm' 'libxmu')
+license=("GPL")
+source=(http://tkabber.jabber.ru/files/other/Tk_Theme-23.tgz)
+url="http://tkabber.jabber.ru"
+md5sums=('121c335e3b3764cbd04eea68b6a66dd3')
+
+build() {
+ cd $srcdir/Tk_Theme-23
+ tclsh configure
+ make || return 1
+ mkdir -p $pkgdir/usr/lib/tktheme && \
+ cp theme.so $pkgdir/usr/lib/tktheme/ && \
+ cp pkgIndex.tcl $pkgdir/usr/lib/tktheme/ && \
+ sed -i 's|ifneeded Tk_Theme 20|ifneeded Tk_Theme 23|' $pkgdir/usr/lib/tktheme/pkgIndex.tcl
+}