summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-23 17:41:56 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-23 17:41:56 -0500
commit17ee116c0d745030d456d99a3bab764790f6ef66 (patch)
tree1b0c3b26e74eb84d4ded6763b7eb5820951a1344
parent70cd5c06cfcc5b173d493bd67d9331d13cdac352 (diff)
downloadpackages-17ee116c0d745030d456d99a3bab764790f6ef66.tar.gz
packages-17ee116c0d745030d456d99a3bab764790f6ef66.tar.bz2
packages-17ee116c0d745030d456d99a3bab764790f6ef66.tar.xz
packages-17ee116c0d745030d456d99a3bab764790f6ef66.zip
user/bzflag: modernise, fix build with new ncurses
-rw-r--r--user/bzflag/APKBUILD13
1 files changed, 5 insertions, 8 deletions
diff --git a/user/bzflag/APKBUILD b/user/bzflag/APKBUILD
index 12f55f405..36f91c20e 100644
--- a/user/bzflag/APKBUILD
+++ b/user/bzflag/APKBUILD
@@ -2,23 +2,20 @@
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname=bzflag
pkgver=2.4.12
-pkgrel=0
-pkgdesc="a 3D networked multi-player multi-platform tank battle game"
+pkgrel=1
+pkgdesc="3D networked multi-player multi-platform tank battle game"
url="https://www.bzflag.org/"
arch="all"
-license="LGPL-2.1+ MPL-2.0"
+license="LGPL-2.1+ AND MPL-2.0"
depends=""
-depends_dev="zlib-dev c-ares-dev curl-dev ncurses-dev sdl2-dev glew-dev"
-makedepends="$depends_dev"
-install=""
+makedepends="c-ares-dev curl-dev glew-dev ncurses-dev sdl2-dev zlib-dev"
subpackages="$pkgname-doc"
source="https://download.bzflag.org/bzflag/source/$pkgver/$pkgname-$pkgver.tar.bz2
defineAddrLen.patch"
-builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
- ./configure \
+ LIBS="-ltinfo" ./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \