[arch-commits] Commit in fceux/trunk (PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Sun Jul 4 14:05:36 UTC 2021


    Date: Sunday, July 4, 2021 @ 14:05:36
  Author: arodseth
Revision: 972074

upgpkg: fceux 2.4.0-1

Modified:
  fceux/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-04 14:05:04 UTC (rev 972073)
+++ PKGBUILD	2021-07-04 14:05:36 UTC (rev 972074)
@@ -3,7 +3,7 @@
 # Contributor: Jo Christian Bergskås <jcberg at gmail.com>
 
 pkgname=fceux
-pkgver=2.3.0
+pkgver=2.4.0
 pkgrel=1
 url='https://fceux.com/'
 pkgdesc='Fast and ultra-compatible NES/Famicom emulator'
@@ -11,16 +11,14 @@
 license=(GPL)
 depends=(gd minizip qt5-base sdl2)
 makedepends=(cmake git glu mesa-libgl ninja setconf scons)
-_commit='65c5b0d2a1c08db75bb41340bfa5534578926944' # fceux-2.3.0
-_url='https://github.com/TASVideos/fceux'
-source=("git+$_url#commit=$_commit")
-sha256sums=('SKIP')
+source=("git+https://github.com/TASVideos/fceux#commit=941da60ecb283263a3810ed199d80abf94bd6494") # fceux-2.4.0
+b2sums=('SKIP')
 
 prepare() {
   cd $pkgname
   sed -i 's/-interim git//g' src/version.h
-  setconf scripts/genGitHdr.sh GIT_URL "'""$_url""'"
-  setconf scripts/genGitHdr.sh GIT_REV $_commit
+  setconf scripts/genGitHdr.sh GIT_URL "'""${source:4:34}""'"
+  setconf scripts/genGitHdr.sh GIT_REV "${source#*=}"
 }
 
 build() {




More information about the arch-commits mailing list