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

Alexander Rødseth arodseth at gemini.archlinux.org
Mon Dec 13 08:53:06 UTC 2021


    Date: Monday, December 13, 2021 @ 08:53:05
  Author: arodseth
Revision: 1071397

upgpkg: amfora 1.9.2-1

Modified:
  amfora/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-13 08:31:02 UTC (rev 1071396)
+++ PKGBUILD	2021-12-13 08:53:05 UTC (rev 1071397)
@@ -2,7 +2,7 @@
 # Contributor: Paul Boyd <boyd.paul2 at gmail.com>
 
 pkgname=amfora
-pkgver=1.9.1
+pkgver=1.9.2
 pkgrel=1
 pkgdesc='Terminal browser for the Gemini protocol'
 arch=(x86_64)
@@ -10,25 +10,24 @@
 license=(GPL3)
 makedepends=(git go)
 source=('https://roboticoverlords.org/amfora.png'
-        "git+$url#commit=48d83d13d2029ad0158ed9a9388bcbb0813c9da4") # tag: v1.9.1
+        "git+$url#commit=61d864540140f463a183e187e4211c258bd518bf") # tag: v1.9.2
 b2sums=('1f93ca564c2ef8ef9a94102ac50781b740266a2413cb92ac900240c9324d2dee27a19e4b0a95f45edf933e07ed133f696b4f969e3cfa7cb26a57bfdc63a287cb'
         'SKIP')
 
 prepare() {
-  echo Icon=amfora >> $pkgname/amfora.desktop
+  echo Icon=amfora >> amfora.desktop
 }
 
 build() {
   cd $pkgname
-  go build -buildmode=pie \
-    -ldflags "-s -w -linkmode=external -extldflags $LDFLAGS -X main.version=$pkgver -X main.builtBy=Arch_Linux -X main.commit=${source#*=}" \
-    -mod=readonly -modcacherw -trimpath
+  go build -buildmode=pie -mod=readonly -modcacherw -trimpath \
+    -ldflags "-s -w -linkmode=external -extldflags $LDFLAGS -X main.version=$pkgver -X main.builtBy=Arch_Linux -X main.commit=${source#*=}"
 }
 
 package() {
   cd $pkgname
   install -Dm755 amfora "$pkgdir/usr/bin/amfora"
-  install -Dm644 amfora.desktop "$pkgdir/usr/share/applications/amfora.desktop"
+  install -Dm644 "$srcdir/amfora.desktop" "$pkgdir/usr/share/applications/amfora.desktop"
   install -Dm644 "$srcdir/amfora.png" "$pkgdir/usr/share/pixmaps/amfora.png"
   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }



More information about the arch-commits mailing list