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

Alexander Rødseth arodseth at archlinux.org
Thu Nov 5 10:41:46 UTC 2020


    Date: Thursday, November 5, 2020 @ 10:41:45
  Author: arodseth
Revision: 743070

archrelease: copy trunk to community-x86_64

Added:
  amfora/repos/community-x86_64/PKGBUILD
    (from rev 743069, amfora/trunk/PKGBUILD)
Deleted:
  amfora/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   79 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 37 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-05 10:41:40 UTC (rev 743069)
+++ PKGBUILD	2020-11-05 10:41:45 UTC (rev 743070)
@@ -1,42 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: Paul Boyd <boyd.paul2 at gmail.com>
-
-pkgname=amfora
-pkgver=1.5.0
-pkgrel=3
-pkgdesc='Terminal browser for the Gemini protocol'
-arch=(x86_64)
-url='https://github.com/makeworld-the-better-one/amfora'
-license=(GPL3)
-makedepends=(git go)
-source=("git+$url#commit=922e7981a92cb7bf0d7b3baf1694d0fffe90d448" # tag: v1.5.0
-        'https://roboticoverlords.org/amfora.png')
-sha256sums=('SKIP'
-            '3d029d05cff8c42e82685ce7a61fcaa2118e4cbb6a547816a7d5150868a11092')
-
-prepare() {
-  echo 'Icon=amfora' >> "$pkgname/amfora.desktop"
-}
-
-build() {
-  cd $pkgname
-  #export CGO_CPPFLAGS="$CPPFLAGS"
-  #export CGO_CFLAGS="$CFLAGS"
-  #export CGO_CXXFLAGS="$CXXFLAGS"
-  #export CGO_LDFLAGS="$LDFLAGS"
-  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 \
-    -v
-}
-
-package() {
-  cd $pkgname
-  install -Dm755 amfora "$pkgdir/usr/bin/amfora"
-  install -Dm644 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"
-}

Copied: amfora/repos/community-x86_64/PKGBUILD (from rev 743069, amfora/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-05 10:41:45 UTC (rev 743070)
@@ -0,0 +1,37 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Paul Boyd <boyd.paul2 at gmail.com>
+
+pkgname=amfora
+pkgver=1.6.0
+pkgrel=1
+pkgdesc='Terminal browser for the Gemini protocol'
+arch=(x86_64)
+url='https://github.com/makeworld-the-better-one/amfora'
+license=(GPL3)
+makedepends=(git go)
+source=("git+$url#commit=445be96e467a959aff6dc8aaf75ca8751ce6f2d7" # tag: v1.6.0
+        'https://roboticoverlords.org/amfora.png')
+sha256sums=('SKIP'
+            '3d029d05cff8c42e82685ce7a61fcaa2118e4cbb6a547816a7d5150868a11092')
+
+prepare() {
+  echo 'Icon=amfora' >> "$pkgname/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
+}
+
+package() {
+  cd $pkgname
+  install -Dm755 amfora "$pkgdir/usr/bin/amfora"
+  install -Dm644 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