[arch-commits] Commit in godot/repos/community-x86_64 (PKGBUILD PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Fri Apr 23 11:35:21 UTC 2021


    Date: Friday, April 23, 2021 @ 11:35:20
  Author: arodseth
Revision: 922292

archrelease: copy trunk to community-x86_64

Added:
  godot/repos/community-x86_64/PKGBUILD
    (from rev 922291, godot/trunk/PKGBUILD)
Deleted:
  godot/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   86 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 41 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-23 11:35:15 UTC (rev 922291)
+++ PKGBUILD	2021-04-23 11:35:20 UTC (rev 922292)
@@ -1,45 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: Jorge Araya Navarro <jorgejavieran at yahoo.com.mx>
-# Contributor: Cristian Porras <porrascristian at gmail.com>
-# Contributor: Matthew Bentley <matthew at mtbentley.us>
-
-pkgname=godot
-pkgver=3.2.3
-pkgrel=2
-pkgdesc='Advanced cross-platform 2D and 3D game engine'
-url='https://godotengine.org'
-license=(MIT)
-arch=(x86_64)
-makedepends=(gcc scons yasm)
-depends=(alsa-lib freetype2 libglvnd libxcursor libxi libxinerama libxrandr pulseaudio)
-source=("$pkgname-$pkgver.tar.gz::https://github.com/godotengine/godot/archive/$pkgver-stable.tar.gz"
-        'https://github.com/godotengine/godot/commit/113b5ab1c45c01b8e6d54d13ac8876d091f883a8.patch')
-sha256sums=('4c2a8e7da1ad05c6223b0ff6cf2be124dad6708b56a8ec9910dc2aaf82a553ae'
-            '914b9df8e37c16f191acaca7baa1878fb8e420b5467f34bf248de8cb26905c8b')
-
-prepare() {
-  cd $pkgname-$pkgver-stable
-  # FS#70057
-  patch -p1 -i "$srcdir/113b5ab1c45c01b8e6d54d13ac8876d091f883a8.patch"
-}
-
-build() {
-  cd $pkgname-$pkgver-stable
-  scons -j12 \
-    bits=64 \
-    colored=yes \
-    platform=x11 \
-    pulseaudio=yes \
-    target=release_debug \
-    tools=yes \
-    use_llvm=no
-}
-
-package() {
-  cd $pkgname-$pkgver-stable
-  install -Dm644 misc/dist/linux/org.godotengine.Godot.desktop "$pkgdir/usr/share/applications/godot.desktop"
-  install -Dm644 icon.svg "$pkgdir/usr/share/pixmaps/godot.svg"
-  install -Dm755 bin/godot.x11.opt.tools.64 "$pkgdir/usr/bin/$pkgname"
-  install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/godot/LICENSE"
-  install -Dm644 misc/dist/linux/godot.6 "$pkgdir/usr/share/man/man6/godot.6"
-}

Copied: godot/repos/community-x86_64/PKGBUILD (from rev 922291, godot/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-04-23 11:35:20 UTC (rev 922292)
@@ -0,0 +1,41 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Jorge Araya Navarro <jorgejavieran at yahoo.com.mx>
+# Contributor: Cristian Porras <porrascristian at gmail.com>
+# Contributor: Matthew Bentley <matthew at mtbentley.us>
+
+pkgname=godot
+pkgver=3.3
+pkgrel=1
+pkgdesc='Advanced cross-platform 2D and 3D game engine'
+url='https://godotengine.org'
+license=(MIT)
+arch=(x86_64)
+makedepends=(gcc scons yasm)
+depends=(alsa-lib freetype2 libglvnd libxcursor libxinerama libxrandr pulseaudio)
+source=("$pkgname-$pkgver.tar.gz::https://github.com/godotengine/godot/archive/$pkgver-stable.tar.gz")
+b2sums=('280b3b371c96e7a39e23f843759754e932fe4fd62b774b5d2d0d0e687fdb5dc8be7d95a18465f52d6f00456f62451115b1bf2e4afc2923ce704ffcde0f06544d')
+
+build() {
+  cd $pkgname-$pkgver-stable
+  export BUILD_NAME=arch_linux
+  scons -j12 \
+    bits=64 \
+    colored=yes \
+    platform=x11 \
+    pulseaudio=yes \
+    target=release_debug \
+    tools=yes \
+    use_llvm=no \
+    CFLAGS="$CFLAGS -Wl,-z,relro,-z-now -w" \
+    CXXFLAGS="$CXXFLAGS -Wl,-z,relro,-z-now -w" \
+    LINKFLAGS="$LDFLAGS -Wl,-z,relro,-z-now -w"
+}
+
+package() {
+  cd $pkgname-$pkgver-stable
+  install -Dm644 misc/dist/linux/org.godotengine.Godot.desktop "$pkgdir/usr/share/applications/godot.desktop"
+  install -Dm644 icon.svg "$pkgdir/usr/share/pixmaps/godot.svg"
+  install -Dm755 bin/godot.x11.opt.tools.64 "$pkgdir/usr/bin/$pkgname"
+  install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/godot/LICENSE"
+  install -Dm644 misc/dist/linux/godot.6 "$pkgdir/usr/share/man/man6/godot.6"
+}



More information about the arch-commits mailing list