mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 07:07:14 +08:00
29 lines
782 B
Bash
29 lines
782 B
Bash
pkgname=supertux
|
|
pkgver=0.6.0
|
|
pkgrel=2
|
|
pkgdesc="A classic 2D jump'n run sidescroller game in a style similar to the original SuperMario games"
|
|
arch=('x86_64')
|
|
url="https://github.com/supertux/supertux"
|
|
license=('GPL')
|
|
depends=('sdl2_image' 'curl' 'openal' 'libvorbis' 'glew' 'freetype2')
|
|
makedepends=('cmake' 'boost' 'mesa' 'optipng')
|
|
source=(https://github.com/SuperTux/$pkgname/releases/download/v${pkgver}/SuperTux-v${pkgver}-Source.tar.gz)
|
|
sha1sums=('5f575e2a12c057b90eb5f45d49605bd921a0c422')
|
|
|
|
build() {
|
|
cd "SuperTux-v${pkgver}-Source"
|
|
|
|
cmake . \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DINSTALL_SUBDIR_BIN=bin \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DUSE_SYSTEM_PHYSFS=0
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "SuperTux-v${pkgver}-Source"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|