summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle Keen2017-11-24 22:28:14 -0500
committerKyle Keen2017-11-24 22:28:14 -0500
commitfc08536d503713cb994a3e5a7ae41330bff8a186 (patch)
tree3c7100cfeaaae18f1c38362af43a749c5a8eb7a1
parent38022ce9269551a4fcf17f222ab2762c1508597d (diff)
downloadaur-fc08536d503713cb994a3e5a7ae41330bff8a186.tar.gz
1.0.9 update
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD19
2 files changed, 19 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c17c460bb3e..7e19b51684e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,9 @@
+# Generated by mksrcinfo v8
+# Sat Nov 25 03:28:11 UTC 2017
pkgbase = garden
pkgdesc = Garden of coloured lights, a game by Linley Henzell, is a vertical shoot-em-up that is a piece of art
- pkgver = 1.0.8
- pkgrel = 4
+ pkgver = 1.0.9
+ pkgrel = 1
url = http://garden.sourceforge.net
install = garden.install
arch = i686
@@ -10,8 +12,8 @@ pkgbase = garden
depends = allegro4
depends = hicolor-icon-theme
provides = garden
- source = http://sourceforge.net/projects/garden/files/garden/1.0.8/garden-1.0.8.tar.gz
- md5sums = 42966f2c457d71a3ff0dd30522801ade
+ source = http://sourceforge.net/projects/garden/files/garden/1.0.9/garden-1.0.9.tar.gz
+ md5sums = b9cce86ab226164279ef325f9d798397
pkgname = garden
diff --git a/PKGBUILD b/PKGBUILD
index 48a0d06da72..690404bc858 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
# Contributor: Gadget3000 <gadget3000 at msn dot com>
pkgname=garden
-pkgver=1.0.8
-pkgrel=4
+pkgver=1.0.9
+pkgrel=1
pkgdesc="Garden of coloured lights, a game by Linley Henzell, is a vertical shoot-em-up that is a piece of art"
arch=('i686' 'x86_64')
url="http://garden.sourceforge.net"
@@ -12,17 +12,24 @@ depends=('allegro4' 'hicolor-icon-theme')
provides=('garden')
install=garden.install
source=(http://sourceforge.net/projects/garden/files/garden/${pkgver}/garden-${pkgver}.tar.gz)
-md5sums=('42966f2c457d71a3ff0dd30522801ade')
+md5sums=('b9cce86ab226164279ef325f9d798397')
+
+prepare() {
+ cd "${srcdir}/garden-${pkgver}"
+ sed -i 's|inline int xpart (int angle, int length);|//&|' src/stuff.c
+ sed -i 's|^inline int xpart (int|int xpart (int|' src/stuff.c
+ sed -i 's|^inline int ypart (int|int ypart (int|' src/stuff.c
+}
build() {
- cd ${srcdir}/garden-${pkgver}
+ cd "${srcdir}/garden-${pkgver}"
LIBS="$LIBS -lm" ./configure --prefix=/usr
make
}
package() {
- cd ${srcdir}/garden-${pkgver}
- make DESTDIR=${pkgdir} install
+ cd "${srcdir}/garden-${pkgver}"
+ make DESTDIR="${pkgdir}" install
}
# vim:set ts=4 sw=4 et: