mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-04 01:27:19 +08:00
31 lines
846 B
Bash
31 lines
846 B
Bash
#
|
|
# Games Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# Maintainer: Atephen McIntosh (stephenmac7) <stephenmac7 gmail.com>
|
|
|
|
pkgname=supertux
|
|
pkgver=0.3.3
|
|
pkgrel=3
|
|
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')
|
|
source=(http://download.berlios.de/supertux/${pkgname}-${pkgver}.tar.bz2)
|
|
md5sums=('f3f803e629ee51a9de0b366a036e393d')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
|
|
sed -i '1i#include <cstddef>' src/supertux/screen_manager.hpp
|
|
cmake -D CMAKE_INSTALL_PREFIX=/usr -D INSTALL_SUBDIR_BIN=bin .
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
|
|
make DESTDIR=${pkgdir} install
|
|
}
|