diff options
author | Max Bruckner | 2016-09-19 18:53:23 +0700 |
---|---|---|
committer | Max Bruckner | 2016-09-19 18:53:23 +0700 |
commit | 1d5351455870d38f64943688303bc88221b7994d (patch) | |
tree | 4952a90a259cfb8e53d5b86f19960505cf985caf | |
parent | 7c1692422fb5f9c77a15189d5980d22524735eb0 (diff) | |
download | aur-1d5351455870d38f64943688303bc88221b7994d.tar.gz |
0.1.3-9: Fix source link and build
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 7 insertions, 5 deletions
@@ -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 @@ -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 |