summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c1f7f4d26874a8163a04287da7499b30452175e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Maintainer: Blake Smith <blakesmith0@gmail.com>
# Old Maintainer: Nathan Jones <nathanj@insightbb.com>

pkgname=tinyfugue-patched
pkgver=5.0b8
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)
license=("GPL")
arch=('i686' 'x86_64')
conflicts=('tinyfugue')
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-50b8.amd64.patch"
	"tf-50b8.pcre.patch")

build() {
	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"
	patch -p1 -i "${srcdir}/tf-50b8.amd64.patch"
	patch -p1 -i "${srcdir}/tf-50b8.pcre.patch"

	./configure --prefix=/usr --enable-termcap=ncurses
	make
} 
package()
{
	cd ${srcdir}/tf-50b8

	mkdir ${pkgdir}/usr
	make prefix=${pkgdir}/usr install
}

md5sums=('3e994e791966d274f63b0e61abf2ef59'
         '395e6636969c518bafa0f86279a7e183'
         'ddb83f770b9fcbcd425143405abef327'
         '3c67ccfc6267502682f12af4fc221d34'
         'e7765f17f4f7d1513b156973d9ebd680'
         'f1b711f5cfc05f17dd35976edab0f5c0')