Skip to content
Snippets Groups Projects
Commit b306c310 authored by David Demelier's avatar David Demelier Committed by Leo
Browse files

testing/powermanga: new aport

http://linux.tlk.fr/games/Powermanga
arcade 2D shoot-them-up game
parent 6267163e
No related branches found
No related tags found
1 merge request!21528testing/powermanga: new aport
# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=powermanga
pkgver=0.93.1
pkgrel=0
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 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"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment