1 # Maintainer: Sven-Hendrik Haase <svenstaro@archlinux.org>
2 # Contributor: Arkham <arkham at archlinux dot us>
3 # Contributor: Ivan Bobrov <ibobrik at gmail dot com>
4 # Contributor: Black_Mage <vleon1 at gmail dot com>
9 pkgdesc="Hardcore 3D space shooter with spaceship upgrade possibilities"
11 url="http://www.viewizard.com/astromenace/index_linux.php"
13 depends=('sdl2' 'freealut' 'libjpeg' 'libvorbis' 'glu' 'freetype2' 'libxinerama')
14 makedepends=('cmake' 'mesa' 'ninja')
15 source=("$pkgname-$pkgver".tar.gz::https://github.com/viewizard/astromenace/archive/v${pkgver}.tar.gz)
16 sha512sums=('6a41c987295ff7201b2a9fa748b2b246c5d61bf4ae39668e614fbec377abfe08387a66182059c0e87d1c8395aa224ae396535b0f41a0be720fc57d319249e8b0')
19 cd astromenace-$pkgver
24 -DCMAKE_INSTALL_PREFIX=/usr \
25 -DDATADIR=/usr/share/astromenace
30 cd astromenace-$pkgver
32 install -Dm755 build/astromenace "$pkgdir"/usr/bin/astromenace
33 install -Dm644 build/gamedata.vfs "$pkgdir"/usr/share/astromenace/gamedata.vfs
34 install -Dm644 share/astromenace_128.png "$pkgdir"/usr/share/pixmaps/astromenace.png
35 install -Dm644 share/astromenace.desktop "$pkgdir"/usr/share/applications/astromenace.desktop
36 install -Dm644 share/astromenace.appdata.xml "$pkgdir"/usr/share/appdata/astromenace.appdata.xml