summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJorge Araya Navarro2018-04-30 11:51:16 -0600
committerJorge Araya Navarro2018-04-30 11:52:09 -0600
commitb630d688835f8b901ab19fa9007c277069efb577 (patch)
treee538c968f785dc084d6fc019fd90fac46d6afcf6 /PKGBUILD
parente5b33e41e0ceba20e27be066d696dd4c33de3a24 (diff)
downloadaur-b630d688835f8b901ab19fa9007c277069efb577.tar.gz
chg: Using new icon
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD16
1 files changed, 4 insertions, 12 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 50d1d65328b..ac94d8e9582 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=godot
pkgver=3.0.2
-pkgrel=1
+pkgrel=2
pkgdesc="An advanced, feature packed, multi-platform 2D and 3D game engine"
url="http://www.godotengine.org"
license=('MIT')
@@ -22,21 +22,13 @@ fi
source=(
"https://github.com/godotengine/godot/archive/${pkgver}-stable.tar.gz"
godot.desktop
- icon.png
)
sha256sums=('15bc91dcbc92fe49624118678fcab119ff332dc295b25f4921700a4ee498b651'
- 'd2f5ae30b8c0c3fd8a20a451d34e9e9d0ba1b60a39b1f68484a9a74227c83822'
- 'b6bb8e42625414303cf7608f08fe63bd3267486bf7a96586ebab05ade5189785')
-
-prepare() {
- cd "${srcdir}"/${pkgname}-${pkgver}-stable
-}
+ 'd2f5ae30b8c0c3fd8a20a451d34e9e9d0ba1b60a39b1f68484a9a74227c83822')
build() {
cd "${srcdir}"/${pkgname}-${pkgver}-stable
- sed -n '/\/* Copyright/,/IN THE SOFTWARE./p' main/main.cpp | sed 's/\/\*//' | sed 's/\*\///' > LICENSE
-
scons platform=x11 \
tools=yes \
target=release_debug \
@@ -51,10 +43,10 @@ package() {
cd "${srcdir}"
install -Dm644 godot.desktop "${pkgdir}"/usr/share/applications/godot.desktop
- install -Dm644 icon.png "${pkgdir}"/usr/share/pixmaps/godot.png
+ install -Dm644 "${srcdir}"/${pkgname}-${pkgver}-stable/icon.svg "${pkgdir}"/usr/share/pixmaps/godot.svg
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 -m644 "${srcdir}"/${pkgname}-${pkgver}-stable/LICENSE.txt "${pkgdir}"/usr/share/licenses/godot/LICENSE
}