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

Caleb Maclennan alerque at gemini.archlinux.org
Tue Jul 19 09:06:08 UTC 2022


    Date: Tuesday, July 19, 2022 @ 09:06:08
  Author: alerque
Revision: 1254543

archrelease: copy trunk to community-x86_64

Added:
  mmctl/repos/community-x86_64/PKGBUILD
    (from rev 1254542, mmctl/trunk/PKGBUILD)
Deleted:
  mmctl/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   82 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 41 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-19 09:06:00 UTC (rev 1254542)
+++ PKGBUILD	2022-07-19 09:06:08 UTC (rev 1254543)
@@ -1,41 +0,0 @@
-# Maintainer: Caleb Maclennan <caleb at alerque.com>
-# Contributor: Jesús Espino <jespinog at gmail.com>
-
-pkgname=mmctl
-pkgver=7.0.1
-pkgrel=1
-pkgdesc='A remote CLI tool for Mattermost'
-arch=(x86_64)
-url="https://github.com/mattermost/$pkgname"
-license=(Apache)
-depends=(gcc-libs)
-makedepends=(go
-             git)
-_archive="$pkgname-$pkgver"
-source=("$url/archive/v$pkgver/$_archive.tar.gz")
-sha256sums=('e6b991a69c222c8683aa1940efd208bbdf8fee5bd4638d93310f261d5301706f')
-
-prepare() {
-	cd "$_archive"
-	go mod vendor
-}
-
-build() {
-	local _commit=$(zcat ${source[0]##*/} | git get-tar-commit-id)
-	cd "$_archive"
-	export CGO_LDFLAGS="$LDFLAGS"
-	local _config=${url##https://}/commands
-	go build \
-		-trimpath \
-		-buildmode=pie \
-		-mod=readonly \
-		-modcacherw \
-		-ldflags "-linkmode external -X \"$_config.gitCommit=$_commit\" -X \"$_config.gitTreeState=clean\" -X \"$_config.buildDate=$(date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +"%Y-%m-%d %H:%M:%S")\"" \
-		.
-}
-
-package() {
-	cd "$_archive"
-	install -Dm0755 -t "$pkgdir/usr/bin/" "$pkgname"
-	install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE.txt
-}

Copied: mmctl/repos/community-x86_64/PKGBUILD (from rev 1254542, mmctl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-07-19 09:06:08 UTC (rev 1254543)
@@ -0,0 +1,41 @@
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Jesús Espino <jespinog at gmail.com>
+
+pkgname=mmctl
+pkgver=7.1.0
+pkgrel=1
+pkgdesc='A remote CLI tool for Mattermost'
+arch=(x86_64)
+url="https://github.com/mattermost/$pkgname"
+license=(Apache)
+depends=(gcc-libs)
+makedepends=(go
+             git)
+_archive="$pkgname-$pkgver"
+source=("$url/archive/v$pkgver/$_archive.tar.gz")
+sha256sums=('1dac7538fd71a2f22785e2ca7fbb63e2512283e6d0321159a7fe09388770a36b')
+
+prepare() {
+	cd "$_archive"
+	go mod vendor
+}
+
+build() {
+	local _commit=$(zcat ${source[0]##*/} | git get-tar-commit-id)
+	cd "$_archive"
+	export CGO_LDFLAGS="$LDFLAGS"
+	local _config=${url##https://}/commands
+	go build \
+		-trimpath \
+		-buildmode=pie \
+		-mod=readonly \
+		-modcacherw \
+		-ldflags "-linkmode external -X \"$_config.gitCommit=$_commit\" -X \"$_config.gitTreeState=clean\" -X \"$_config.buildDate=$(date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +"%Y-%m-%d %H:%M:%S")\"" \
+		.
+}
+
+package() {
+	cd "$_archive"
+	install -Dm0755 -t "$pkgdir/usr/bin/" "$pkgname"
+	install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE.txt
+}



More information about the arch-commits mailing list