summaryrefslogtreecommitdiff
path: root/community-testing/tix/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-17 01:15:52 -0700
committerroot <root@rshg054.dnsready.net>2012-10-17 01:15:52 -0700
commitc84b2cd310f86dc50c4f52a5907cb17652e8c87c (patch)
treeef3dc614b68e1e6f5966a5d29f3970e27bb7c4f9 /community-testing/tix/PKGBUILD
parent99d0ec7ebad2eda5f3a03098962e3b250e3bef4c (diff)
Wed Oct 17 01:14:52 PDT 2012
Diffstat (limited to 'community-testing/tix/PKGBUILD')
-rw-r--r--community-testing/tix/PKGBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/community-testing/tix/PKGBUILD b/community-testing/tix/PKGBUILD
new file mode 100644
index 000000000..e5a35e2b2
--- /dev/null
+++ b/community-testing/tix/PKGBUILD
@@ -0,0 +1,46 @@
+# $Id: PKGBUILD 78122 2012-10-16 11:54:26Z allan $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Brice Méalier <mealier_brice@yahoo.fr>
+
+pkgname=tix
+pkgver=8.4.3
+pkgrel=4
+pkgdesc="Tk Interface eXtension, a powerful set of user interface components"
+arch=(i686 'x86_64')
+url="http://tix.sourceforge.net/"
+license=("BSD")
+depends=('tk' 'libx11')
+source=(http://downloads.sourceforge.net/tix/Tix$pkgver-src.tar.gz
+ tcl-tk-path.patch)
+md5sums=('2b8bf4b10a852264678182652f477e59'
+ 'd4df48da39dd51872d58706a51bab505')
+
+build() {
+ cd $srcdir/Tix$pkgver
+
+ patch -p1 <$srcdir/tcl-tk-path.patch
+
+ export CFLAGS="$CFLAGS -DERR_IN_PROGRESS=2"
+
+ ./configure --prefix=/usr
+ make
+ make DESTDIR=$pkgdir install
+ # move things around
+
+ install -m755 tools/tixindex $pkgdir/usr/bin/tixindex
+ rm -rf $pkgdir/usr/lib/Tix8.4/html
+ rm -f $pkgdir/usr/lib/Tix8.4/{README.txt,license.terms}
+ ln -s Tix$pkgver/libTix$pkgver.so $pkgdir/usr/lib/libTix$pkgver.so
+
+ mkdir -p $pkgdir/usr/share/man/man1
+ mkdir -p $pkgdir/usr/share/man/man3
+ cp -p man/tixwish.1 $pkgdir/usr/share/man/man1
+ cd $srcdir/Tix$pkgver/man
+ for i in *.n; do
+ cp -p $i $pkgdir/usr/share/man/man3/${i%n}3
+ done
+
+ mkdir -p $pkgdir/usr/share/licenses/tix
+ cp $srcdir/Tix$pkgver/license.terms $pkgdir/usr/share/licenses/tix/
+}
+