summaryrefslogtreecommitdiff
path: root/repo/freeciv/freeciv.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-27 23:09:07 +0100
committerdavidovski <david@davidovski.xyz>2022-06-27 23:09:07 +0100
commitf6332a43c35387c4a2dea1746be5fd092890ae0e (patch)
treed6599f63de04096f3fc21a98e0b3bb39d55a3531 /repo/freeciv/freeciv.xibuild
parentf13e0cac13f90f7f57bce3b26b2e6383de6e4ad2 (diff)
added lf and iptables
Diffstat (limited to 'repo/freeciv/freeciv.xibuild')
-rw-r--r--repo/freeciv/freeciv.xibuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/repo/freeciv/freeciv.xibuild b/repo/freeciv/freeciv.xibuild
new file mode 100644
index 0000000..2ef99f5
--- /dev/null
+++ b/repo/freeciv/freeciv.xibuild
@@ -0,0 +1,31 @@
+#!/bin/sh
+
+NAME="freeciv"
+DESC="Free and Open Source empire-building strategy game (meta package)"
+
+MAKEDEPS="curl readline gettext sdl2-mixer gzip pkg-conf glib atk pango gdk-pixbuf gtk3 qtchooser qt5-qtbase gzip sdl2 sdl2-image sdl2-ttf sdl2-gfx sqlite3"
+
+PKG_VER=3.0.0
+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
+}
+