mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 09:37:15 +08:00
25 lines
694 B
Bash
25 lines
694 B
Bash
pkgname=supertux
|
|
pkgver=0.5.0
|
|
pkgrel=1
|
|
pkgdesc="A classic 2D jump'n run sidescroller game in a style similar to the original SuperMario games"
|
|
arch=('x86_64')
|
|
url="http://super-tux.sourceforge.net/"
|
|
license=('GPL')
|
|
depends=('sdl2_image' 'curl' 'physfs' 'openal' 'libvorbis' 'glew')
|
|
makedepends=('cmake' 'boost' 'mesa' 'optipng' 'git')
|
|
source=(https://github.com/SuperTux/$pkgname/releases/download/v${pkgver}/SuperTux-v${pkgver}-Source.tar.gz)
|
|
md5sums=('3bb7c1f3f622da79ec9fe1ebc521f286')
|
|
|
|
build() {
|
|
cd "SuperTux-v${pkgver}-Source"
|
|
|
|
cmake -D CMAKE_INSTALL_PREFIX=/usr -D INSTALL_SUBDIR_BIN=bin .
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "SuperTux-v${pkgver}-Source"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|