summaryrefslogblamecommitdiff
path: root/user/bzflag/APKBUILD
blob: dfa85b0bcba1db82ddb40e6d18aba2937a6bfdff (plain) (tree)
1
2
3
4
5
6
7
8
9


                                       

             
                                                                   

                             
                               
          
                                                                        


                                                                                  


                      
                                    


















                                         
                                                                                                                                                                   
                                                                                                                                                      
# Contributor: Dan Theisen <djt@hxx.in>
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname=bzflag
pkgver=2.4.14
pkgrel=0
pkgdesc="3D networked multi-player multi-platform tank battle game"
url="https://www.bzflag.org/"
arch="all"
license="LGPL-2.1+ AND MPL-2.0"
depends=""
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"

build() {
	cd "$builddir"
	LIBS="-ltinfo" ./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="9a9d4c9fee5b33613691e1b2d4ec4582bd89d8726122d42994933404c9fdeeaf5256ef5d77a56232a1026c2f2689ff342a1e4ff3d6bdd1596f91f0e7fdd1e80d  bzflag-2.4.14.tar.bz2
568e581dd82ca28aa43281a86867408c726ad4f2145f115a5d3535dbc472463c94288e9349ced715004191af0925daff7e3d55fe1db3ab35554352cc703d79b9  defineAddrLen.patch"