summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD6
2 files changed, 7 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fd92b12d9df0..cd31e3210cce 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,9 @@
+# Generated by mksrcinfo v8
+# Mon Sep 19 11:46:43 UTC 2016
pkgbase = supertux-old
pkgdesc = Jump and run game inspired by Super Mario Bros. Milestone 1 release.
pkgver = 0.1.3
- pkgrel = 8
+ pkgrel = 9
url = http://supertux.lethargik.org
arch = i686
arch = x86_64
@@ -10,7 +12,7 @@ pkgbase = supertux-old
license = GPL2
depends = sdl_mixer
depends = sdl_image
- source = https://supertux.googlecode.com/files/supertux-0.1.3.tar.bz2
+ source = https://github.com/SuperTux/supertux/releases/download/v0.1.3/supertux-0.1.3.tar.bz2
sha512sums = 75848583f9f9b9d0f36fec77812501875420fde8befe1ff9ac4ea7613f4d9464b2eb460c2ed89b4dc31e697fbb449a5431c72675e2820d13f5c42653dc07ad98
pkgname = supertux-old
diff --git a/PKGBUILD b/PKGBUILD
index 8205a535a481..cbd4fec7ee91 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,18 +2,18 @@
_basename=supertux
pkgname=$_basename-old
pkgver=0.1.3
-pkgrel=8
+pkgrel=9
pkgdesc="Jump and run game inspired by Super Mario Bros. Milestone 1 release."
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
url="http://supertux.lethargik.org"
license=('GPL2')
depends=('sdl_mixer' 'sdl_image')
-source=( "https://supertux.googlecode.com/files/$_basename-${pkgver}.tar.bz2")
+source=("https://github.com/SuperTux/supertux/releases/download/v0.1.3/$_basename-$pkgver.tar.bz2")
sha512sums=('75848583f9f9b9d0f36fec77812501875420fde8befe1ff9ac4ea7613f4d9464b2eb460c2ed89b4dc31e697fbb449a5431c72675e2820d13f5c42653dc07ad98')
build() {
cd "$srcdir/$_basename-$pkgver"
- ./configure --prefix=/usr
+ CXXFLAGS="-std=c++03" ./configure --prefix=/usr
sed -i -e 's/Menu:://g' src/menu.h #fix build error
sed -i -e 's/supertux.png/supertux-old.png/g' supertux.desktop #prevent conflict with supertux2
make