summaryrefslogblamecommitdiff
path: root/user/bzflag/APKBUILD
blob: ab799c36b3471851da3f32587e47756d3bb78162 (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.22
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"

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

check() {
	make check
}

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

sha512sums="c78ad0e9e861d0c922ef73dd1e040d998836efaab3a48d5a3cd8392835ce37392b1b9438aed7483ea48c6bce672bb937aeba40553553dce0c0fd3cce38bf10cf  bzflag-2.4.22.tar.bz2"