summaryrefslogtreecommitdiffstats
path: root/testing/supertuxkart
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-03-05 17:20:13 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-03-05 20:18:04 +0000
commitd16250d952cfa746dad73504d805b5ca7ec8ba48 (patch)
tree39d985851ec4ff139c097949e69451cb0ab75202 /testing/supertuxkart
parent9d071e45c204b3a293192d3402f92d6a4a57a035 (diff)
downloadaports-d16250d952cfa746dad73504d805b5ca7ec8ba48.tar.bz2
aports-d16250d952cfa746dad73504d805b5ca7ec8ba48.tar.xz
testing/supertuxkart: upgrade to 0.8
Diffstat (limited to 'testing/supertuxkart')
-rw-r--r--testing/supertuxkart/APKBUILD27
1 files changed, 14 insertions, 13 deletions
diff --git a/testing/supertuxkart/APKBUILD b/testing/supertuxkart/APKBUILD
index cc47cc6e3..018fa8b3e 100644
--- a/testing/supertuxkart/APKBUILD
+++ b/testing/supertuxkart/APKBUILD
@@ -1,17 +1,17 @@
# Maintainer: Jeff Bilyk <jbilyk@alpinelinux.org>
pkgname=supertuxkart
-pkgver=0.7
+pkgver=0.8
pkgrel=0
pkgdesc="Kart racing game"
url="http://supertuxkart.sourceforge.net"
arch="x86 x86_64"
license="GPL"
depends=
-depends_dev="irrlicht libvorbis-dev libogg-dev openal-soft-dev mesa-dev jpeg-dev gettext-dev"
-makedepends="$depends_dev"
-source="http://downloads.sourceforge.net/project/$pkgname/SuperTuxKart/0.7/$pkgname-$pkgver-src.tar.bz2"
+makedepends="libvorbis-dev libogg-dev openal-soft-dev mesa-dev
+ libjpeg-turbo-dev gettext-dev cmake curl-dev fribidi-dev"
+source="http://downloads.sourceforge.net/project/$pkgname/SuperTuxKart/$pkgver/$pkgname-$pkgver-src.tar.bz2"
-_builddir="$srcdir"/$pkgname-$pkgver
+_builddir="$srcdir"/SuperTuxKart-$pkgver
prepare() {
local i
@@ -25,14 +25,13 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
- --datadir=/usr/share \
- --bindir=/usr/bin \
- --with-irrlicht=/usr/include/irrlicht \
+ cmake . \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_CXX_FLAGS="-lpthread -lm -ldl" \
|| return 1
- # From arch pkgbuild
- sed -i "s#/usr/local#/usr#" src/io/file_manager.cpp
- sed -i "s#/games#/bin#" $(grep -r "/games" *)
+
+ NDEBUG=1 make -C lib/irrlicht/source/Irrlicht || return 1
make || return 1
}
@@ -40,4 +39,6 @@ package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="2806f271e4d37fee5ad8ca166e1ad489 supertuxkart-0.7-src.tar.bz2"
+md5sums="0b939ce601374758938119e0b0dd1fec supertuxkart-0.8-src.tar.bz2"
+sha256sums="b99f3d2311457a34db3c42ba2195662f2993a48eae4f6b1f175dbcce09ad4b8b supertuxkart-0.8-src.tar.bz2"
+sha512sums="1936ff85ab896ad46633e53423a55c74aebe7a49d55024ed9bd76baf735e2e3c1ada0e83e3cc29dc7b9ff257484f2a9edb0bf5cf61b0b78fa5757f2e702a6f72 supertuxkart-0.8-src.tar.bz2"