diff --git a/common/shlibs b/common/shlibs index 566b3f3adb3..37a2b455e2c 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1361,4 +1361,4 @@ libvncserver.so.0 libvncserver-0.9.9_1 libvncclient.so.0 libvncserver-0.9.9_1 libotr3.so.2 libotr3-3.2.1_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 diff --git a/srcpkgs/opensonic/files/opensonic.desktop b/srcpkgs/opensonic/files/opensonic.desktop new file mode 100644 index 00000000000..372278fb566 --- /dev/null +++ b/srcpkgs/opensonic/files/opensonic.desktop @@ -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 diff --git a/srcpkgs/opensonic/files/opensonic.sh b/srcpkgs/opensonic/files/opensonic.sh new file mode 100644 index 00000000000..68b19131f78 --- /dev/null +++ b/srcpkgs/opensonic/files/opensonic.sh @@ -0,0 +1,3 @@ +#! /bin/sh + +exec /usr/share/opensonic/opensonic diff --git a/srcpkgs/opensonic/template b/srcpkgs/opensonic/template new file mode 100644 index 00000000000..a3b320a8970 --- /dev/null +++ b/srcpkgs/opensonic/template @@ -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 " +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 + } +}