blob: ef37e79bad218f03979614ebaa4c4a505cb19e34 (
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
48
49
50
|
# Maintainer: Marcos López <feirlane@gmail.com>
pkgname=tinyfugue-git
pkgver=r155.72a5c32
pkgrel=1
pkgdesc='TinyFugue, aka "tf", is a flexible, screen-oriented MUD client, for use with any type of text MUD. Git version with support for ATCP, GMCP and telnet option 102.'
arch=('i686' 'x86_64')
url="https://github.com/ingwarsw/tinyfugue"
license=('GPL')
groups=()
depends=('ncurses' 'python')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
replaces=()
backup=()
options=()
install=
source=("${pkgname%-git}"::'git+https://github.com/ingwarsw/tinyfugue.git')
noextract=()
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
# Git, no tags available
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/${pkgname%-git}"
./configure \
--prefix=/usr \
--enable-python \
--enable-termcap=ncurses \
--enable-atcp \
--enable-gmcp \
--enable-option102
make
}
package() {
cd "${srcdir}/${pkgname%-git}"
mkdir -p "${pkgdir}/usr/bin"
mkdir -p "${pkgdir}/usr/share"
install -m755 src/tf "${pkgdir}/usr/bin"
cp -r lib/tf "${pkgdir}/usr/share/tf-lib"
}
|