desktop/supertux/PKGBUILD

26 lines
691 B
Bash
Raw Normal View History

pkgname=supertux
2015-12-22 06:45:52 +08:00
pkgver=0.4.0
_pkgver=0.4.0
2015-04-12 15:46:17 +08:00
pkgrel=1
pkgdesc="A classic 2D jump'n run sidescroller game in a style similar to the original SuperMario games"
2015-04-12 15:46:17 +08:00
arch=('x86_64')
url="http://super-tux.sourceforge.net/"
license=('GPL')
2015-04-12 15:46:17 +08:00
depends=('sdl2_image' 'curl' 'physfs' 'openal' 'libvorbis' 'glew')
2015-12-22 06:45:52 +08:00
makedepends=('cmake' 'boost' 'mesa' 'optipng' 'git')
source=(https://github.com/SuperTux/$pkgname/releases/download/v${pkgver}/$pkgname-${pkgver}.tar.bz2)
md5sums=('8acc3aa1077f0da95c99fdd5f4925088')
build() {
2015-07-28 21:26:51 +08:00
cd "${pkgname}-${_pkgver}"
2014-10-10 00:38:16 +08:00
cmake -D CMAKE_INSTALL_PREFIX=/usr -D INSTALL_SUBDIR_BIN=bin .
make
}
package() {
2015-07-28 21:26:51 +08:00
cd "${pkgname}-${_pkgver}"
2014-10-10 00:38:16 +08:00
make DESTDIR="${pkgdir}" install
}