desktop/supertux/PKGBUILD
2015-04-12 07:46:17 +00:00

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
}