New package: opensonic-0.1.4.

This commit is contained in:
Juan RP 2013-07-03 15:46:36 +02:00
parent 22e0fa8f8e
commit 01854ba64b
4 changed files with 49 additions and 1 deletions

View file

@ -1361,4 +1361,4 @@ libvncserver.so.0 libvncserver-0.9.9_1
libvncclient.so.0 libvncserver-0.9.9_1 libvncclient.so.0 libvncserver-0.9.9_1
libotr3.so.2 libotr3-3.2.1_1 libotr3.so.2 libotr3-3.2.1_1
libotr.so.5 libotr-4.0.0_1 libotr.so.5 libotr-4.0.0_1
liballeg.so.4 allegro4-4.4.2_1 liballeg.so.4.4 allegro4-4.4.2_1

View file

@ -0,0 +1,9 @@
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Opensonic
GenericName=Opensonic
Comment=Game based on the "Sonic the Hedgehog" universe.
Exec=/usr/bin/opensonic
Categories=Game;ArcadeGame;
Icon=/usr/share/opensonic/icon.png

View file

@ -0,0 +1,3 @@
#! /bin/sh
exec /usr/share/opensonic/opensonic

View file

@ -0,0 +1,36 @@
# Template file for 'opensonic'
pkgname=opensonic
version=0.1.4
revision=1
hostmakedepends="cmake"
makedepends="allegro4-devel libpng-devel libvorbis-devel desktop-file-utils"
wrksrc="opensnc-src-${version}"
short_desc="Open-source game based on the Sonic the Hedgehog universe"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://opensnc.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/opensnc-src-${version}.tar.gz"
checksum=3a4c3fa9538ee27c04b5ea848c9ad0a83f335471936d4617a18d3648c42588e9
do_configure() {
unset LDFLAGS
./configure --prefix=/usr
}
do_build() {
make ${makejobs}
}
do_install() {
make DESTDIR=${DESTDIR} install
vinstall icon.png 644 usr/share/${pkgname}
vinstall ${FILESDIR}/opensonic.sh 755 usr/bin
vinstall ${FILESDIR}/opensonic.desktop 644 usr/share/applications
}
opensonic_package() {
depends="desktop-file-utils"
pkg_install() {
vmove all
}
}