Date: Saturday, April 25, 2020 @ 17:42:00 Author: foutrelis Revision: 621026
archrelease: copy trunk to community-staging-x86_64 Added: supertux/repos/community-staging-x86_64/ supertux/repos/community-staging-x86_64/PKGBUILD (from rev 621025, supertux/trunk/PKGBUILD) ----------+ PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) Copied: supertux/repos/community-staging-x86_64/PKGBUILD (from rev 621025, supertux/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-04-25 17:42:00 UTC (rev 621026) @@ -0,0 +1,33 @@ +# Maintainer: Sven-Hendrik Haase <svenst...@gmail.com> +# Contributor: Jaroslaw Swierczynski <swier...@aur.archlinux.org> +# Contributor: Eric BĂ©langer <e...@archlinux.org> +# Contributor: vande198 +# Contributor: Daniel J Griffiths <ghost1...@archlinux.us> + +pkgname=supertux +pkgver=0.6.1 +pkgrel=4 +pkgdesc="A classic 2D jump'n'run sidescroller game in a style similar to the original SuperMario games" +arch=('x86_64') +url="https://github.com/supertux/supertux" +license=('GPL') +depends=('sdl2_image' 'curl' 'physfs' 'openal' 'libvorbis' 'glew' 'physfs' 'freetype2' 'boost-libs' 'hicolor-icon-theme') +makedepends=('cmake' 'boost' 'mesa' 'optipng') +source=("https://github.com/SuperTux/supertux/releases/download/v${pkgver}/SuperTux-v${pkgver}-Source.tar.gz") +sha512sums=('38a1da2a0546aa7fb98ece307b35a7e03a154b018d4b732592d3a718fd6c8ba827f3f8d99f0df777b7f438c0294c1838185ea7e60cc08f8cdb6f9a46b440e860') + +build() { + cd "SuperTux-v${pkgver}-Source" + + cmake . \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DINSTALL_SUBDIR_BIN=bin \ + -DCMAKE_BUILD_TYPE=Release + make +} + +package() { + cd "SuperTux-v${pkgver}-Source" + + make DESTDIR="${pkgdir}" install +}