summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMark Pustjens2015-07-21 22:23:33 +0200
committerMark Pustjens2015-07-21 22:23:33 +0200
commit5e196109fa5dfbb92225a7e3d2c309ce6f47377c (patch)
tree090d2f557182890622762237d20745052bbb8cc5 /PKGBUILD
parentb931721f68f07008bb9db0e7b9c3c939b43fbf9f (diff)
downloadaur-5e196109fa5dfbb92225a7e3d2c309ce6f47377c.tar.gz
Updated with pcre and amd64 patch.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 21 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2629ba156de..c1f7f4d2687 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=tinyfugue-patched
pkgver=5.0b8
-pkgrel=1
+pkgrel=2
pkgdesc="The best MUD client. Patched with log prefix and a more useful alert stream."
url="http://tinyfugue.sourceforge.net/"
depends=(pcre zlib ncurses openssl)
@@ -15,19 +15,33 @@ replaces=('tinyfugue')
source=("http://downloads.sourceforge.net/sourceforge/tinyfugue/tf-50b8.tar.gz"
"tf-50b7.alert.patch"
"tf-50b7.build.patch"
- "tf-50b7.log_prefix.patch")
+ "tf-50b7.log_prefix.patch"
+ "tf-50b8.amd64.patch"
+ "tf-50b8.pcre.patch")
build() {
- cd $startdir/src/tf-50b8
+ cd ${srcdir}/tf-50b8
+
patch -p1 -i "${srcdir}/tf-50b7.alert.patch"
patch -p1 -i "${srcdir}/tf-50b7.build.patch"
patch -p1 -i "${srcdir}/tf-50b7.log_prefix.patch"
- mkdir $startdir/pkg/usr
+ patch -p1 -i "${srcdir}/tf-50b8.amd64.patch"
+ patch -p1 -i "${srcdir}/tf-50b8.pcre.patch"
+
./configure --prefix=/usr --enable-termcap=ncurses
- make || return 1
- make prefix=$startdir/pkg/usr install || return 1
+ make
}
+package()
+{
+ cd ${srcdir}/tf-50b8
+
+ mkdir ${pkgdir}/usr
+ make prefix=${pkgdir}/usr install
+}
+
md5sums=('3e994e791966d274f63b0e61abf2ef59'
'395e6636969c518bafa0f86279a7e183'
'ddb83f770b9fcbcd425143405abef327'
- '3c67ccfc6267502682f12af4fc221d34')
+ '3c67ccfc6267502682f12af4fc221d34'
+ 'e7765f17f4f7d1513b156973d9ebd680'
+ 'f1b711f5cfc05f17dd35976edab0f5c0')