blob: 7c932aa9bf5015da5e4b1b9bef30dd0b311a1036 (
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
|
# Maintainer: Gary Hunt <garysERASE_THIS_PARTboxATgmailonedotcom>
pkgname=tinyfugue-rebirth
pkgver=5.1.6
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc="flexible, screen-oriented MUD client, with python,lua,atcp,gmcp and option102 support"
url="http://https://github.com/ingwarsw/tinyfugue"
license=("GPL")
depends=(pcre zlib ncurses openssl lua51 python)
source=("https://github.com/ingwarsw/tinyfugue/archive/refs/tags/$pkgver.tar.gz")
# build function
build() {
cd $srcdir/tinyfugue-$pkgver
CFLAGS="$CFLAGS $(INCLUDE)-D_GNU_SOURCE -Wno-error=return-mismatch -Wno-error=implicit-function-declaration -Wno-error=int-conversion -Wno-error=incompatible-pointer-types" ./configure --enable-atcp --enable-gmcp --enable-option102 --enable-python --enable-termcap=ncurses --enable-lua --bindir=/usr/bin/ --datarootdir=/usr/share
make
}
# package function, cleanup
package() {
mkdir -p $pkgdir/usr/bin
mkdir -p $pkgdir/usr/share/doc/tinyfuge-rebirth
mkdir -p $pkgdir/usr/share/tf-lib/
cd $srcdir/tinyfugue-$pkgver
cp src/tf $pkgdir/usr/bin/
cd lib/
cp tf/* $pkgdir/usr/share/tf-lib/
cp lua/* $pkgdir/usr/share/tf-lib/
cp py/* $pkgdir/usr/share/tf-lib/
}
sha256sums=('891aae175499ae53a94b7287e333157c8dd556c23e56bba8dbe578649ab94f66')
|