summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCameron Reikes2019-05-23 17:06:09 -0700
committerCameron Reikes2019-05-23 17:06:09 -0700
commit9aba3be0b348cd6687a8aea04de6838e375b027e (patch)
tree5de423194ae67a1223b157c27463e219b287f03a
downloadaur-9aba3be0b348cd6687a8aea04de6838e375b027e.tar.gz
Add initial download and build PKGBUILD
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD22
2 files changed, 34 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d7c6133ca83
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,12 @@
+pkgbase = godot-headless-bin
+ pkgdesc = Godot is an advanced, feature packed, multi-platform 2D and 3D game engine
+ pkgver = 3.1.1
+ pkgrel = 1
+ url = http://www.godotengine.org
+ arch = x86_64
+ license = MIT
+ source = godot-headless-bin-3.1.1::https://downloads.tuxfamily.org/godotengine/3.1.1/Godot_v3.1.1-stable_linux_headless.64.zip
+ md5sums = 36fd2c3c401d0f9f7a20bfd7b0d03997
+
+pkgname = godot-headless-bin
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..bf34939c9d5
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: Cameron Reikes <cameronreikes@gmail.com>
+
+pkgname=godot-headless-bin
+pkgver=3.1.1
+pkgrel=1
+pkgdesc="Godot is an advanced, feature packed, multi-platform 2D and 3D game engine"
+arch=("x86_64")
+url="http://www.godotengine.org"
+license=("MIT")
+source=("$pkgname-$pkgver::https://downloads.tuxfamily.org/godotengine/$pkgver/Godot_v$pkgver-stable_linux_headless.64.zip")
+md5sums=("36fd2c3c401d0f9f7a20bfd7b0d03997")
+
+package() {
+ mkdir -p "$pkgdir/opt/$pkgname"
+ mkdir -p "$pkgdir/usr/bin"
+
+ cp "$srcdir/Godot_v"$pkgver"-stable_linux_headless.64" "$pkgdir/opt/$pkgname/godot-headless"
+
+ chmod +x "$pkgdir/opt/$pkgname/godot-headless"
+
+ ln -s "/opt/$pkgname/godot-headless" "$pkgdir/usr/bin/godot-headless"
+}