mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
25 lines
639 B
Bash
25 lines
639 B
Bash
pkgname=supertux
|
|
pkgver=0.3.5
|
|
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')
|
|
source=(https://github.com/SuperTux/supertux/archive/v${pkgver}.tar.gz)
|
|
md5sums=('bdfd7942099b664a0f1af74d73e69bda')
|
|
|
|
build() {
|
|
cd "${pkgname}-${pkgver}"
|
|
|
|
cmake -D CMAKE_INSTALL_PREFIX=/usr -D INSTALL_SUBDIR_BIN=bin .
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${pkgname}-${pkgver}"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|