mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
26 lines
691 B
Bash
26 lines
691 B
Bash
pkgname=supertux
|
|
pkgver=0.4.0
|
|
_pkgver=0.4.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}/$pkgname-${pkgver}.tar.bz2)
|
|
md5sums=('8acc3aa1077f0da95c99fdd5f4925088')
|
|
|
|
build() {
|
|
cd "${pkgname}-${_pkgver}"
|
|
|
|
cmake -D CMAKE_INSTALL_PREFIX=/usr -D INSTALL_SUBDIR_BIN=bin .
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${pkgname}-${_pkgver}"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|