summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJorge Araya Navarro2016-02-28 22:02:36 -0600
committerJorge Araya Navarro2016-02-28 22:02:36 -0600
commitd686977db017ef72e9f3f503bf2c394a5f2ff0b8 (patch)
tree4e6a27f5e35fba21f7684cc63da2d243b8d893fa /PKGBUILD
parent352dc8281c791c49dff5885871b30f9cbfe974cd (diff)
downloadaur-d686977db017ef72e9f3f503bf2c394a5f2ff0b8.tar.gz
updating package
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD32
1 files changed, 16 insertions, 16 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a79bbc54da1..89f3d3bd001 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,8 +3,8 @@
# Contributor: Matthew Bentley <matthew@mtbentley.us>
pkgname=godot
-pkgver=1.1
-pkgrel=4
+pkgver=2.0
+pkgrel=1
pkgdesc="An advanced, feature packed, multi-platform 2D and 3D game engine"
url="http://www.godotengine.org"
license=('MIT')
@@ -15,38 +15,38 @@ optdepends=()
conflicts=("godot-git")
_arch=''
if test "$CARCH" == x86_64; then
- _arch=('64')
+ _arch=('64')
else
_arch=('32')
fi
source=(
- "https://github.com/okamstudio/godot/archive/${pkgver}-stable.tar.gz"
- godot.desktop
- icon.png
+ "https://github.com/okamstudio/godot/archive/${pkgver}-stable.tar.gz"
+ godot.desktop
+ icon.png
)
-md5sums=('87eb2fc3518ce7a27957fada1ba003e9'
+md5sums=('83e1ec74ca3156af548f0e829085cdf7'
'dca7c5c5682bdc8cc83386034e0d7d07'
'f756e85756a9cbc06a328414abf74585')
build() {
- cd "${srcdir}"/${pkgname}-${pkgver}-stable
+ cd "${srcdir}"/${pkgname}-${pkgver}-stable
- sed -n '/\/* Copyright/,/IN THE SOFTWARE./p' main/main.cpp | sed 's/\/\*//' | sed 's/\*\///' > LICENSE
+ sed -n '/\/* Copyright/,/IN THE SOFTWARE./p' main/main.cpp | sed 's/\/\*//' | sed 's/\*\///' > LICENSE
- scons platform=x11 target=release_debug
+ scons platform=x11 tools=yes target=release_debug bits=${_arch}
}
package() {
- cd "${srcdir}"
+ cd "${srcdir}"
- install -Dm644 godot.desktop "${pkgdir}"/usr/share/applications/godot.desktop
- install -Dm644 icon.png "${pkgdir}"/usr/share/pixmaps/godot.png
+ install -Dm644 godot.desktop "${pkgdir}"/usr/share/applications/godot.desktop
+ install -Dm644 icon.png "${pkgdir}"/usr/share/pixmaps/godot.png
- cd "${srcdir}"/${pkgname}-${pkgver}-stable
+ cd "${srcdir}"/${pkgname}-${pkgver}-stable
- install -D -m755 bin/godot.x11.opt.tools.${_arch} "${pkgdir}"/usr/bin/godot
- install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/godot/LICENSE
+ install -D -m755 bin/godot.x11.opt.tools.${_arch} "${pkgdir}"/usr/bin/godot
+ install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/godot/LICENSE
}