desktop/supertux/PKGBUILD

28 lines
724 B
Bash
Raw Normal View History

pkgname=supertux
2017-01-27 02:24:49 +08:00
pkgver=0.5.1
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')
2017-01-27 02:24:49 +08:00
depends=('sdl2_image' 'curl' 'openal' 'libvorbis' 'glew')
2015-12-22 06:45:52 +08:00
makedepends=('cmake' 'boost' 'mesa' 'optipng' 'git')
2016-09-25 21:17:34 +08:00
source=(https://github.com/SuperTux/$pkgname/releases/download/v${pkgver}/SuperTux-v${pkgver}-Source.tar.gz)
2017-01-27 02:24:49 +08:00
sha1sums=('f2a40ed73ca81951e17e23edc914e2ed480f9ca1')
build() {
2016-09-25 21:17:34 +08:00
cd "SuperTux-v${pkgver}-Source"
2017-01-27 02:24:49 +08:00
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DINSTALL_SUBDIR_BIN=bin \
-DUSE_SYSTEM_PHYSFS=0
make
}
package() {
2016-09-25 21:17:34 +08:00
cd "SuperTux-v${pkgver}-Source"
2014-10-10 00:38:16 +08:00
make DESTDIR="${pkgdir}" install
}