summaryrefslogtreecommitdiff
path: root/community/supertux
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/supertux
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/supertux')
-rw-r--r--community/supertux/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/supertux/PKGBUILD b/community/supertux/PKGBUILD
new file mode 100644
index 000000000..39454fa29
--- /dev/null
+++ b/community/supertux/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 95026 2013-08-03 22:26:22Z svenstaro $
+# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
+# Contributor: Eric BĂ©langer <eric@archlinux.org>
+# Contributor: vande198
+# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
+
+pkgname=supertux
+pkgver=0.3.4
+pkgrel=1
+pkgdesc="A classic 2D jump'n run sidescroller game in a style similar to the original SuperMario games"
+arch=('i686' 'x86_64')
+url="http://super-tux.sourceforge.net/"
+license=('GPL')
+depends=('sdl_image' 'curl' 'physfs' 'openal' 'libvorbis' 'glew')
+makedepends=('cmake' 'boost' 'mesa' 'optipng')
+source=(https://supertux.googlecode.com/files/supertux-${pkgver}.tar.bz2)
+md5sums=('108af4c1fd985e8842a15cd819b9b157')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ cmake -D CMAKE_INSTALL_PREFIX=/usr -D INSTALL_SUBDIR_BIN=bin .
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+}