garden: clean up, rebuild missing package

Closes #14637.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
cr6git 2018-05-22 20:15:23 +02:00 committed by Enno Boland
parent e08cb8ad70
commit f7c9b3f432
No known key found for this signature in database
GPG key ID: D09964719BDE9971

View file

@ -1,14 +1,14 @@
# Template file for 'garden'
pkgname=garden
version=1.0.9
revision=1
revision=2
build_style=gnu-configure
makedepends="allegro4-devel"
depends="desktop-file-utils hicolor-icon-theme"
maintainer="cr6git <quark6@protonmail.com>"
short_desc="Old school 2D vertical shoot-em-up with some innovative elements"
maintainer="cr6git <quark6@protonmail.com>"
license="GPL-3.0-or-later"
homepage="http://garden.sourceforge.net/drupal/"
license="GPL-2"
distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz"
checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
@ -18,10 +18,6 @@ pre_configure() {
sed -i "s|^inline int ypart (int|int ypart (int|" src/stuff.c
}
do_configure() {
LIBS="$LIBS -lm" ./configure --prefix=/usr
}
post_install() {
vinstall resources/garden.desktop 644 usr/share/applications
vinstall resources/garden.svg 644 usr/share/icons/hicolor/scalable/apps