# Contributor: David Demelier # Maintainer: David Demelier pkgname=powermanga pkgver=0.93.1 pkgrel=1 pkgdesc="arcade 2D shoot-them-up game" url="http://linux.tlk.fr/games/Powermanga" arch="all !x86" # Does not build. license="GPL-3.0-only" depends="libmikmod" makedepends="autoconf automake libpng-dev libtool sdl12-compat-dev sdl_mixer-dev" subpackages="$pkgname-doc" source="http://linux.tlk.fr/games/Powermanga/download/powermanga-$pkgver.tgz" options="suid" # For game save files. prepare() { default_prepare autoreconf -vif } build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var make } check() { make check } package() { make DESTDIR="$pkgdir" install mv "$pkgdir"/usr/games "$pkgdir"/usr/bin install -Dm644 images_for_menu_entry/powermanga_48x48.png "$pkgdir"/usr/share/pixmaps/$pkgname.png install -Dm644 $pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop } sha512sums=" 852c0b4550db6c9e4ecd380077d390327f6649b6e8ab4cad246f23e7335e8622008f9fc753e2f474bf9cf7a5654b071e3f117f6a2b5be72ea53709912f4a0f41 powermanga-0.93.1.tgz "