Date: Tuesday, March 14, 2023 @ 21:25:04
  Author: alerque
Revision: 1420494

archrelease: copy trunk to community-x86_64

Added:
  glab/repos/community-x86_64/PKGBUILD
    (from rev 1420493, glab/trunk/PKGBUILD)
Deleted:
  glab/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   98 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 49 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-03-14 21:24:55 UTC (rev 1420493)
+++ PKGBUILD    2023-03-14 21:25:04 UTC (rev 1420494)
@@ -1,49 +0,0 @@
-# Maintainer: Caleb Maclennan <[email protected]>
-# Contributor: w0rty <mawo97 at gmail.com>
-# Contributor: Abdo Roig-Maranges <[email protected]>
-
-pkgname=glab
-pkgver=1.25.3
-pkgrel=1
-pkgdesc='Cli tool to help work seamlessly with GitLab from the command line'
-arch=(x86_64)
-url="https://gitlab.com/gitlab-org/cli";
-license=(MIT)
-depends=(glibc)
-makedepends=(go)
-replaces=(gitlab-glab)
-options=(!lto)
-_archive="cli-v$pkgver"
-source=("$url/-/archive/v$pkgver/$_archive.tar.gz")
-sha256sums=('4cc090b9ad7ee6608d70e3a7fb5ca91a505eff12cf967a944bd0581cb6a83972')
-
-build() {
-       cd "$_archive"
-       export CGO_CPPFLAGS="$CPPFLAGS"
-       export CGO_CFLAGS="$CFLAGS"
-       export CGO_CXXFLAGS="$CXXFLAGS"
-       export CGO_LDFLAGS="$LDFLAGS"
-       _builddate=${SOURCE_DATE_EPOCH=:$(date -u +%m/%d/%Y)}
-       go build \
-               -trimpath \
-               -buildmode=pie \
-               -ldflags "-linkmode=external -extldflags \"$LDFLAGS\" -X 
main.version=v$pkgver -X main.build=$_builddate -X main.usageMode=prod -s -w" \
-               -mod=readonly \
-               -modcacherw \
-               -o "$pkgname" \
-               ./cmd/glab/main.go
-       go run ./cmd/gen-docs/docs.go --manpage --path ./
-       for s in bash fish zsh; do
-               ./$pkgname completion -s $s > $s.completions
-       done
-}
-
-package() {
-       cd "$_archive"
-       install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
-       install -Dm0755 -t "$pkgdir/usr/bin/" "$pkgname"
-       install -Dm0644 -t "$pkgdir/usr/share/man/man1/" "$pkgname"*.1
-       install -Dm0644 bash.completions 
"$pkgdir/usr/share/bash-completion/completions/$pkgname"
-       install -Dm0644 fish.completions 
"$pkgdir/usr/share/fish/vendor_completions.d/$pkgname.fish"
-       install -Dm0644  zsh.completions 
"$pkgdir/usr/share/zsh/site-functions/_$pkgname"
-}

Copied: glab/repos/community-x86_64/PKGBUILD (from rev 1420493, 
glab/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-03-14 21:25:04 UTC (rev 1420494)
@@ -0,0 +1,49 @@
+# Maintainer: Caleb Maclennan <[email protected]>
+# Contributor: w0rty <mawo97 at gmail.com>
+# Contributor: Abdo Roig-Maranges <[email protected]>
+
+pkgname=glab
+pkgver=1.26.0
+pkgrel=1
+pkgdesc='Cli tool to help work seamlessly with GitLab from the command line'
+arch=(x86_64)
+url="https://gitlab.com/gitlab-org/cli";
+license=(MIT)
+depends=(glibc)
+makedepends=(go)
+replaces=(gitlab-glab)
+options=(!lto)
+_archive="cli-v$pkgver"
+source=("$url/-/archive/v$pkgver/$_archive.tar.gz")
+sha256sums=('af1820a7872d53c7119a23317d6c80497374ac9529fc2ab1ea8b1ca033a9b4da')
+
+build() {
+       cd "$_archive"
+       export CGO_CPPFLAGS="$CPPFLAGS"
+       export CGO_CFLAGS="$CFLAGS"
+       export CGO_CXXFLAGS="$CXXFLAGS"
+       export CGO_LDFLAGS="$LDFLAGS"
+       _builddate=${SOURCE_DATE_EPOCH=:$(date -u +%m/%d/%Y)}
+       go build \
+               -trimpath \
+               -buildmode=pie \
+               -ldflags "-linkmode=external -extldflags \"$LDFLAGS\" -X 
main.version=v$pkgver -X main.build=$_builddate -X main.usageMode=prod -s -w" \
+               -mod=readonly \
+               -modcacherw \
+               -o "$pkgname" \
+               ./cmd/glab/main.go
+       go run ./cmd/gen-docs/docs.go --manpage --path ./
+       for s in bash fish zsh; do
+               ./$pkgname completion -s $s > $s.completions
+       done
+}
+
+package() {
+       cd "$_archive"
+       install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
+       install -Dm0755 -t "$pkgdir/usr/bin/" "$pkgname"
+       install -Dm0644 -t "$pkgdir/usr/share/man/man1/" "$pkgname"*.1
+       install -Dm0644 bash.completions 
"$pkgdir/usr/share/bash-completion/completions/$pkgname"
+       install -Dm0644 fish.completions 
"$pkgdir/usr/share/fish/vendor_completions.d/$pkgname.fish"
+       install -Dm0644  zsh.completions 
"$pkgdir/usr/share/zsh/site-functions/_$pkgname"
+}

Reply via email to