garden: fix cross
This commit is contained in:
parent
0b8696f545
commit
ab7f99d78a
1 changed files with 5 additions and 5 deletions
|
@ -1,8 +1,9 @@
|
|||
# Template file for 'garden'
|
||||
pkgname=garden
|
||||
version=1.0.9
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="allegro4-devel"
|
||||
makedepends="allegro4-devel"
|
||||
depends="desktop-file-utils hicolor-icon-theme"
|
||||
short_desc="Old school 2D vertical shoot-em-up with some innovative elements"
|
||||
|
@ -13,13 +14,12 @@ distfiles="${SOURCEFORGE_SITE}/garden/garden/${version}/garden-${version}.tar.gz
|
|||
checksum=daf8732c229a4cc04f460514bff1ba05171faada9e19575c72a50a914f2352e3
|
||||
|
||||
pre_configure() {
|
||||
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
|
||||
vsed -i "s|inline int xpart (int angle, int length);|//&|" src/stuff.c
|
||||
vsed -i "s|^inline int xpart (int|int xpart (int|" src/stuff.c
|
||||
vsed -i "s|^inline int ypart (int|int ypart (int|" src/stuff.c
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vinstall resources/garden.desktop 644 usr/share/applications
|
||||
vinstall resources/garden.svg 644 usr/share/icons/hicolor/scalable/apps
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue