diff options
Diffstat (limited to 'main/teeworlds')
-rw-r--r-- | main/teeworlds/APKBUILD | 44 |
1 files changed, 21 insertions, 23 deletions
diff --git a/main/teeworlds/APKBUILD b/main/teeworlds/APKBUILD index 0caa9802bc..377eac44d2 100644 --- a/main/teeworlds/APKBUILD +++ b/main/teeworlds/APKBUILD @@ -2,7 +2,7 @@ # Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> pkgname=teeworlds -pkgver=0.6.2 +pkgver=0.6.3 pkgrel=0 arch=all pkgdesc='Multiplayer 2D shooter' @@ -11,38 +11,36 @@ license='custom' depends= makedepends='python mesa-dev glu-dev sdl-dev freetype-dev alsa-lib-dev bam' subpackages="$pkgname-server $pkgname-common" -source="https://www.teeworlds.com/files/$pkgname-$pkgver-source.tar.gz" +source="https://downloads.teeworlds.com/teeworlds-$pkgver-src.tar.gz" + +_builddir=""$srcdir"/$pkgname-$pkgver-src" build() { - cd "$srcdir"/$pkgname-$pkgver-source - bam client_release server_release || return 1 + cd $_builddir + bam client_release server_release || return 1 } package() { - depends="$pkgname-common" - - cd "$srcdir"/$pkgname-$pkgver-source - install -Dm755 teeworlds "$pkgdir"/usr/bin/teeworlds || return 1 + depends="$pkgname-common" + cd $_builddir + install -Dm755 teeworlds "$pkgdir"/usr/bin/teeworlds || return 1 } server() { - depends="$pkgname-common" - - cd "$srcdir"/$pkgname-$pkgver-source - install -Dm755 teeworlds_srv "$subpkgdir"/usr/bin/teeworlds_srv || return 1 + depends="$pkgname-common" + cd $_builddir + install -Dm755 teeworlds_srv "$subpkgdir"/usr/bin/teeworlds_srv || return 1 } common() { - arch=noarch - - cd "$srcdir"/$pkgname-$pkgver-source - 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 + arch=noarch + 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="649f6c05a7b117096b238c07062edc39 teeworlds-0.6.2-source.tar.gz" -sha256sums="00061b30377597a61810eda3dc5de0caad439ca851cb8eebbe4152e4f861e2af teeworlds-0.6.2-source.tar.gz" -sha512sums="e08db7a8eabe2f04c543ecf1abc2f51b513a06812581cf8c396fc8bd7e038ce09c46f73bfea80e295affded96c511ef74d47a14dd03fd0aac05487a46f380839 teeworlds-0.6.2-source.tar.gz" +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" |