mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-10 08:24:39 +08:00
39 lines
964 B
Bash
39 lines
964 B
Bash
#
|
|
# Games Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# Maintainer: Atephen McIntosh (stephenmac7) <stephenmac7 gmail.com>
|
|
|
|
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' 'libgl' 'glew')
|
|
makedepends=('cmake' 'boost')
|
|
categories=('games')
|
|
source=(http://supertux.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2)
|
|
md5sums=('108af4c1fd985e8842a15cd819b9b157')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
|
|
# Other fixes.
|
|
# sed -i '1i#include <cstddef>' src/supertux/screen_manager.hpp
|
|
# sed -i '/types\.h/d' src/addon/addon_manager.cpp
|
|
|
|
# Build.
|
|
cmake \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DINSTALL_SUBDIR_BIN=bin \
|
|
.
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
|
|
make DESTDIR=${pkgdir} install
|
|
}
|