Date: Thursday, May 11, 2023 @ 20:51:52
  Author: anatolik
Revision: 1459995

archrelease: copy trunk to community-x86_64

Added:
  mage/repos/community-x86_64/PKGBUILD
    (from rev 1459994, mage/trunk/PKGBUILD)
Deleted:
  mage/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-05-11 20:51:29 UTC (rev 1459994)
+++ PKGBUILD    2023-05-11 20:51:52 UTC (rev 1459995)
@@ -1,43 +0,0 @@
-# Contributor: Sven Greb <[email protected]>
-# Contributor: Arctic Ice Studio <[email protected]>
-
-pkgname=mage
-pkgver=1.14.0
-pkgrel=1
-pkgdesc="A Make/rake-like build tool using Go"
-arch=("x86_64")
-url="https://magefile.org";
-license=("Apache")
-makedepends=(go)
-source=($pkgname-$pkgver.tar.gz::https://github.com/magefile/mage/archive/refs/tags/v$pkgver.tar.gz)
-sha256sums=('346b82cd4c6af35a6bffcdaed1a6de0947d8b282ce80ee719805e8fea33bc481')
-
-build() {
-  cd "$pkgname-$pkgver"
-
-  # mage is build with mage itself, therefore we simluate the execution of the 
provided `bootstrap.go` installation
-  # file that is recommended by the author.
-  # The file builds mage when mage itself is not installed on the target 
system yet and included metadata information
-  # for the binary.
-
-  # References:
-  #   1. https://github.com/magefile/mage/blob/fe9f9420/.goreleaser.yml#L27
-  #   2. https://github.com/magefile/mage/blob/fe9f9420/.goreleaser.yml#L10
-  export CGO_ENABLED=0
-  local BUILD_DATE="$(date --rfc-3339=date 
--date="@${SOURCE_DATE_EPOCH:-$(date +%s)}")"
-  go build \
-    -trimpath \
-    -buildmode=pie \
-    -mod=readonly \
-    -modcacherw \
-    -ldflags "-X \"github.com/magefile/mage/mage.timestamp=${BUILD_DATE}\" \
-              -X \"github.com/magefile/mage/mage.gitTag=v$pkgver\" \
-              -extldflags \"${LDFLAGS}\"" \
-    -o build/"$pkgname" .
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  install -Dm755 build/"$pkgname" -t "$pkgdir/usr/bin/"
-  install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
-}

Copied: mage/repos/community-x86_64/PKGBUILD (from rev 1459994, 
mage/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-05-11 20:51:52 UTC (rev 1459995)
@@ -0,0 +1,43 @@
+# Contributor: Sven Greb <[email protected]>
+# Contributor: Arctic Ice Studio <[email protected]>
+
+pkgname=mage
+pkgver=1.15.0
+pkgrel=1
+pkgdesc="A Make/rake-like build tool using Go"
+arch=("x86_64")
+url="https://magefile.org";
+license=("Apache")
+makedepends=(go)
+source=($pkgname-$pkgver.tar.gz::https://github.com/magefile/mage/archive/refs/tags/v$pkgver.tar.gz)
+sha256sums=('3ce55e39d175d925c015b4dc773cea1fc4d3c64af9edcec6f9b7ab9388b751bf')
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  # mage is build with mage itself, therefore we simluate the execution of the 
provided `bootstrap.go` installation
+  # file that is recommended by the author.
+  # The file builds mage when mage itself is not installed on the target 
system yet and included metadata information
+  # for the binary.
+
+  # References:
+  #   1. https://github.com/magefile/mage/blob/fe9f9420/.goreleaser.yml#L27
+  #   2. https://github.com/magefile/mage/blob/fe9f9420/.goreleaser.yml#L10
+  export CGO_ENABLED=0
+  local BUILD_DATE="$(date --rfc-3339=date 
--date="@${SOURCE_DATE_EPOCH:-$(date +%s)}")"
+  go build \
+    -trimpath \
+    -buildmode=pie \
+    -mod=readonly \
+    -modcacherw \
+    -ldflags "-X \"github.com/magefile/mage/mage.timestamp=${BUILD_DATE}\" \
+              -X \"github.com/magefile/mage/mage.gitTag=v$pkgver\" \
+              -extldflags \"${LDFLAGS}\"" \
+    -o build/"$pkgname" .
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  install -Dm755 build/"$pkgname" -t "$pkgdir/usr/bin/"
+  install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
+}

Reply via email to