aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/supertuxkart
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-10-27 13:57:03 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-10-27 13:57:03 +0000
commit05d101006631106afec8b8ce14fca556c72084a0 (patch)
tree2dac6bdb57976eaf70edee4d1220adafa7197269 /unmaintained/supertuxkart
parente1430873ce310212ac773f75da12464f49bb1518 (diff)
downloadaports-05d101006631106afec8b8ce14fca556c72084a0.tar.bz2
aports-05d101006631106afec8b8ce14fca556c72084a0.tar.xz
testing/supertuxkart: unmaintained
Diffstat (limited to 'unmaintained/supertuxkart')
-rw-r--r--unmaintained/supertuxkart/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/unmaintained/supertuxkart/APKBUILD b/unmaintained/supertuxkart/APKBUILD
new file mode 100644
index 0000000000..018fa8b3ef
--- /dev/null
+++ b/unmaintained/supertuxkart/APKBUILD
@@ -0,0 +1,44 @@
+# Maintainer: Jeff Bilyk <jbilyk@alpinelinux.org>
+pkgname=supertuxkart
+pkgver=0.8
+pkgrel=0
+pkgdesc="Kart racing game"
+url="http://supertuxkart.sourceforge.net"
+arch="x86 x86_64"
+license="GPL"
+depends=
+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"/SuperTuxKart-$pkgver
+
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ cmake . \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_CXX_FLAGS="-lpthread -lm -ldl" \
+ || return 1
+
+ NDEBUG=1 make -C lib/irrlicht/source/Irrlicht || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+md5sums="0b939ce601374758938119e0b0dd1fec supertuxkart-0.8-src.tar.bz2"
+sha256sums="b99f3d2311457a34db3c42ba2195662f2993a48eae4f6b1f175dbcce09ad4b8b supertuxkart-0.8-src.tar.bz2"
+sha512sums="1936ff85ab896ad46633e53423a55c74aebe7a49d55024ed9bd76baf735e2e3c1ada0e83e3cc29dc7b9ff257484f2a9edb0bf5cf61b0b78fa5757f2e702a6f72 supertuxkart-0.8-src.tar.bz2"