blob: 4977dbd36d6ab1b8c6a09c66783270bd9919c120 (
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
|
#!/bin/sh
NAME="freeciv"
DESC="Free and Open Source empire-building strategy game (meta package)"
MAKEDEPS="curl readline gettext sdl2-mixer gzip pkg-config glib atk pango gdk-pixbuf gtk3 qtchooser qt5-qtbase gzip sdl2 sdl2-image sdl2-ttf sdl2-gfx sqlite3"
PKG_VER=3.0.3
SOURCE="https://downloads.sourceforge.net/sourceforge/freeciv/freeciv-$PKG_VER.tar.xz"
build() {
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--enable-client=gtk3.22,qt,sdl2 \
--enable-debug=no \
--enable-fcmp=gtk3,qt,cli \
--enable-fcdb=sqlite3 \
--enable-ipv6=yes \
--with-readline
make
}
check() {
make check
}
package() {
make DESTDIR="$PKG_DEST" install
}
|