Date: Friday, September 30, 2022 @ 19:56:55
  Author: anatolik
Revision: 1320104

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-09-30 19:56:35 UTC (rev 1320103)
+++ PKGBUILD    2022-09-30 19:56:55 UTC (rev 1320104)
@@ -1,43 +0,0 @@
-# Contributor: Sven Greb <[email protected]>
-# Contributor: Arctic Ice Studio <[email protected]>
-
-pkgname=mage
-pkgver=1.13.0
-pkgrel=2
-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=('afe6e764b605ce010cde732abc799ef19bb7f0b6b77bfa97091701a8b86a9af6')
-
-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 1320103, 
mage/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-09-30 19:56:55 UTC (rev 1320104)
@@ -0,0 +1,43 @@
+# 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/"
+}

Reply via email to