diff options
Diffstat (limited to 'unmaintained/teeworlds/APKBUILD')
-rw-r--r-- | unmaintained/teeworlds/APKBUILD | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/unmaintained/teeworlds/APKBUILD b/unmaintained/teeworlds/APKBUILD deleted file mode 100644 index 527e38cf0c..0000000000 --- a/unmaintained/teeworlds/APKBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# Maintainer: -# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> - -pkgname=teeworlds -pkgver=0.6.3 -pkgrel=0 -arch="all !aarch64" -pkgdesc='Multiplayer 2D shooter' -url='https://www.teeworlds.com' -license='custom' -depends= -makedepends="python2 mesa-dev glu-dev sdl-dev freetype-dev alsa-lib-dev bam" -subpackages="$pkgname-server $pkgname-common::noarch" -source="https://downloads.teeworlds.com/teeworlds-$pkgver-src.tar.gz" - -_builddir=""$srcdir"/$pkgname-$pkgver-src" - -build() { - cd $_builddir - bam client_release server_release || return 1 -} - -package() { - depends="$pkgname-common" - cd $_builddir - install -Dm755 teeworlds "$pkgdir"/usr/bin/teeworlds || return 1 -} - -server() { - depends="$pkgname-common" - cd $_builddir - install -Dm755 teeworlds_srv "$subpkgdir"/usr/bin/teeworlds_srv || return 1 -} - -common() { - cd $_builddir - install -Dm644 license.txt \ - "$subpkgdir"/usr/share/licenses/teeworlds/LICENSE || return 1 - install -d "$subpkgdir"/usr/share/teeworlds/data || return 1 - cp -r data/* "$subpkgdir"/usr/share/teeworlds/data || return 1 -} - -md5sums="bbe9faa26caf796bcdffc4bc635118fd teeworlds-0.6.3-src.tar.gz" -sha256sums="490ee7c372898761c609af8d7b0c6bd55942c6c6fcd7f361eefa00abfc70077b teeworlds-0.6.3-src.tar.gz" -sha512sums="0c7ef6ca59e4b49f9e208f39e8b0edd76965d67848008af3a223cb7615a6c62ff433d3113f733ae4dafc364baf522d2f56255e058d26d9f5c48071cdde41526d teeworlds-0.6.3-src.tar.gz" |