summaryrefslogtreecommitdiffstats
path: root/abs/core/tilda/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/tilda/PKGBUILD')
-rw-r--r--abs/core/tilda/PKGBUILD48
1 files changed, 32 insertions, 16 deletions
diff --git a/abs/core/tilda/PKGBUILD b/abs/core/tilda/PKGBUILD
index f8422bc..19ba559 100644
--- a/abs/core/tilda/PKGBUILD
+++ b/abs/core/tilda/PKGBUILD
@@ -1,26 +1,42 @@
-# Maintainer: William Rea <sillywilly@gmail.com>
+# $Id: PKGBUILD 71879 2012-06-02 18:37:37Z jlichtblau $
+# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Contributor: Douglas Soares de Andrade <dsa@aur.archlinux.org>
+# Contributor: William Rea <sillywilly@gmail.com>
+
pkgname=tilda
pkgver=0.9.6
-pkgrel=2
-pkgdesc="Linux terminal based on classic terminals from first person shooter games."
+pkgrel=6
+pkgdesc="Linux terminal based on classic terminals from first person shooter games"
+arch=('i686' 'x86_64')
url="http://tilda.sourceforge.net"
-license="GPL"
-depends=('vte' 'confuse' 'libglade' 'gtk2')
+license=('GPL')
+depends=('vte' 'confuse' 'libglade')
makedepends=('gawk')
-source=('tilda-0.9.6.tar.gz' 'config_0')
-arch=('i686')
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz
+ tilda-fix.patch tilda-glib2.patch tilda-conf-sigsegv.patch)
+sha256sums=('b3bd0f63eb83a5001ef26056ca116e5f8005d454f8f82a94f334868862068411'
+ 'ceac38bb33a0e8141f7b6cbc55807c999729319f2fdfaa3c375aa1a541d29729'
+ 'c71cdd8cdc1fdd76c919605c6b7a1b89e4929d20630db17145e6c2b584c8aaf9'
+ 'e28c731c0ca94210d5e4f4b7dd0eee9952405593f1d06e4ab2d87ee299e3e533')
+
build() {
+ cd $srcdir/$pkgname-$pkgver
+
+# gdk && desktop file fix FS#25762
+ patch -p0 -i ${srcdir}/$pkgname-fix.patch
+
+# glib2 fix
+ patch -p0 -i ${srcdir}/$pkgname-glib2.patch
+
+# fix segfaults on malformed config files FS#29754
+ patch -p0 -i ${srcdir}/$pkgname-conf-sigsegv.patch
- cd $startdir/src/tilda-$pkgver/src
-# patch -p0 < $startdir/src/tilda.patch
- cd $startdir/src/tilda-$pkgver
./configure --prefix=/usr
- make || return 1
- make DESTDIR=$startdir/pkg install
+ make
+}
- mkdir -p $startdir/pkg/etc
- cp $startdir/src/config_0 $startdir/pkg/etc/tilda_config
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=${pkgdir} install
}
-md5sums=('b44ebe04fdfd312e9ddc5e0ed77f4289'
- '754753190e0990cd6fba27b3c931bd0e')