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

Caleb Maclennan alerque at gemini.archlinux.org
Wed Nov 24 02:36:29 UTC 2021


    Date: Wednesday, November 24, 2021 @ 02:36:28
  Author: alerque
Revision: 1054536

archrelease: copy trunk to community-x86_64

Added:
  age/repos/community-x86_64/PKGBUILD
    (from rev 1054535, age/trunk/PKGBUILD)
Deleted:
  age/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   76 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 38 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-24 02:35:41 UTC (rev 1054535)
+++ PKGBUILD	2021-11-24 02:36:28 UTC (rev 1054536)
@@ -1,38 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-# Maintainer: Caleb Maclennan <caleb at alerque.com>
-# Contributor: Tharre <tharre3 at gmail.com>
-
-pkgname=age
-pkgver=1.0.0
-pkgrel=3
-pkgdesc='A simple, modern and secure file encryption tool'
-arch=('x86_64')
-url="https://github.com/FiloSottile/$pkgname"
-license=('BSD')
-depends=('glibc')
-makedepends=('go')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha512sums=('77ea1af03a76339f4e934222bc9fc6119698080d0e03011c79b25119e0e8a1e6c0772ede5069cd63bde48cfaa4d355c897912741680e8b0c52d4c518182c2f7f')
-
-build() {
-    cd "$pkgname-$pkgver"
-    go build \
-      -trimpath \
-      -buildmode=pie \
-      -mod=readonly \
-      -modcacherw \
-      -ldflags "-linkmode external -extldflags \"$LDFLAGS\"" \
-      -o . ./...
-}
-
-check() {
-    cd "$pkgname-$pkgver"
-    go test ./...
-}
-
-package() {
-    cd "$pkgname-$pkgver"
-    install -Dm755 -t "$pkgdir/usr/bin/" age age-keygen
-    install -Dm644 -t "$pkgdir/usr/share/man/man1/" doc/age.1 doc/age-keygen.1
-    install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
-}

Copied: age/repos/community-x86_64/PKGBUILD (from rev 1054535, age/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-24 02:36:28 UTC (rev 1054536)
@@ -0,0 +1,38 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Tharre <tharre3 at gmail.com>
+
+pkgname=age
+pkgver=1.0.0
+pkgrel=4
+pkgdesc='A simple, modern and secure file encryption tool'
+arch=('x86_64')
+url="https://github.com/FiloSottile/$pkgname"
+license=('BSD')
+depends=('glibc')
+makedepends=('go')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('77ea1af03a76339f4e934222bc9fc6119698080d0e03011c79b25119e0e8a1e6c0772ede5069cd63bde48cfaa4d355c897912741680e8b0c52d4c518182c2f7f')
+
+build() {
+    cd "$pkgname-$pkgver"
+    go build \
+      -trimpath \
+      -buildmode=pie \
+      -mod=readonly \
+      -modcacherw \
+      -ldflags "-X main.Version=$pkgver -linkmode external -extldflags \"$LDFLAGS\"" \
+      -o . ./...
+}
+
+check() {
+    cd "$pkgname-$pkgver"
+    go test ./...
+}
+
+package() {
+    cd "$pkgname-$pkgver"
+    install -Dm755 -t "$pkgdir/usr/bin/" age age-keygen
+    install -Dm644 -t "$pkgdir/usr/share/man/man1/" doc/age.1 doc/age-keygen.1
+    install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
+}



More information about the arch-commits mailing list