diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2012-08-02 15:48:44 +0200 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2012-08-02 15:48:44 +0200 |
commit | 72658c2308ab6c5ec52a590f6c7b9a2b389b7f29 (patch) | |
tree | b949e009e881cbc19e64debea1068c56952b4b44 /community/supertux/PKGBUILD | |
parent | 04770005a02cc2a41550a57143af22c9d951bf6f (diff) | |
parent | f003ac1c96d76f4e3a2b93f988e1effce6771052 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
community-testing/tp_smapi/PKGBUILD
community/fish/PKGBUILD
community/supertux/PKGBUILD
extra/gvfs/PKGBUILD
multilib/wine/PKGBUILD
testing/e2fsprogs/PKGBUILD
testing/iptables/PKGBUILD
testing/krb5/PKGBUILD
testing/lm_sensors/PKGBUILD
testing/lm_sensors/healthd
testing/lm_sensors/healthd.rc
Diffstat (limited to 'community/supertux/PKGBUILD')
-rw-r--r-- | community/supertux/PKGBUILD | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/community/supertux/PKGBUILD b/community/supertux/PKGBUILD index 152a2d7da..b8d394894 100644 --- a/community/supertux/PKGBUILD +++ b/community/supertux/PKGBUILD @@ -1,28 +1,27 @@ +# $Id: PKGBUILD 74627 2012-07-31 19:57:01Z ebelanger $ # Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org> -# Contributor: Eric Belanger <belanger@astro.umontreal.ca> +# Contributor: Eric Bélanger <eric@archlinux.org> # Contributor: vande198 # Maintainer: Daniel J Griffiths <ghost1227@archlinux.us> pkgname=supertux pkgver=0.3.3 -pkgrel=5.1 +pkgrel=6 pkgdesc="A classic 2D jump'n run sidescroller game in a style similar to the original SuperMario games" arch=('i686' 'x86_64' 'mips64el') url="http://super-tux.sourceforge.net/" license=('GPL') depends=('sdl_image' 'curl' 'physfs' 'openal' 'libvorbis' 'libgl' 'glew') makedepends=('cmake' 'boost') -source=("http://download.berlios.de/supertux/${pkgname}-${pkgver}.tar.bz2" - 'squirrel.patch') +source=(http://download.berlios.de/supertux/${pkgname}-${pkgver}.tar.bz2 + supertux2-0.3.3-squirrel-gcc47.patch) md5sums=('f3f803e629ee51a9de0b366a036e393d' - 'eb06315514be4f200428f14b927beb66') + 'eb06315514be4f200428f14b927beb66') build() { - cd ${srcdir}/${pkgname}-${pkgver} - - # The following patch was taken from https://supertux.lethargik.org/bugs/view.php?id=933&nbn=3 - patch -Np1 -i "$srcdir/squirrel.patch" + cd "${srcdir}/${pkgname}-${pkgver}" + patch -p1 -i "${srcdir}/supertux2-0.3.3-squirrel-gcc47.patch" sed -i '1i#include <cstddef>' src/supertux/screen_manager.hpp sed -i '/types\.h/d' src/addon/addon_manager.cpp cmake -D CMAKE_INSTALL_PREFIX=/usr -D INSTALL_SUBDIR_BIN=bin . @@ -30,7 +29,7 @@ build() { } package() { - cd ${srcdir}/${pkgname}-${pkgver} + cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR=${pkgdir} install + make DESTDIR="${pkgdir}" install } |