[arch-commits] Commit in release-cli/repos/community-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Fri Aug 13 09:23:03 UTC 2021
Date: Friday, August 13, 2021 @ 09:23:03
Author: dvzrv
Revision: 997950
archrelease: copy trunk to community-x86_64
Added:
release-cli/repos/community-x86_64/PKGBUILD
(from rev 997949, release-cli/trunk/PKGBUILD)
Deleted:
release-cli/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-08-13 09:22:55 UTC (rev 997949)
+++ PKGBUILD 2021-08-13 09:23:03 UTC (rev 997950)
@@ -1,40 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-pkgname=release-cli
-pkgver=0.8.0
-pkgrel=1
-pkgdesc="Gitlab Release CLI"
-arch=('x86_64')
-url="https://gitlab.com/gitlab-org/release-cli"
-license=('MIT')
-depends=('glibc')
-makedepends=('go')
-source=("$pkgname-$pkgver.tar.gz::https://gitlab.com/gitlab-org/${pkgname}/-/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz")
-sha512sums=('2e3d6dc545902c428f96cc84d515d9b82857714101f27d4cac2d0ceb77bde1cca67d071ea8f30001f727cbb36a27c24e8f78db926f018b413aa470fdefe16ad7')
-b2sums=('a4be4aa478424ff5baad7447dd50dd31de2536ec950abfdafccca4408beeb2932060a7e3a2281b06080c76c0a7f1cb3df89262447694cc31796dbe61fd173996')
-
-prepare() {
- mv -v "$pkgname-v$pkgver" "$pkgname-$pkgver"
- cd "$pkgname-$pkgver"
- mkdir -vp build
-}
-
-build() {
- cd "$pkgname-$pkgver"
- export CGO_CPPFLAGS="${CPPFLAGS}"
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CXXFLAGS="${CXXFLAGS}"
- export CGO_LDFLAGS="${LDFLAGS}"
- export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
-
- go build -o "build/${pkgname}" "./cmd/${pkgname}"
-}
-
-package() {
- cd "$pkgname-$pkgver"
- install -vDm 755 "build/${pkgname}" -t "${pkgdir}/usr/bin"
- install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
- install -vDm 644 {CHANGELOG,README}.md -t "${pkgdir}/usr/share/doc/${pkgname}"
- cd docs
- find . -type f -iname "*.md" -exec install -vDm 644 {} "${pkgdir}/usr/share/doc/${pkgname}/"{} \;
-}
Copied: release-cli/repos/community-x86_64/PKGBUILD (from rev 997949, release-cli/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-08-13 09:23:03 UTC (rev 997950)
@@ -0,0 +1,40 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=release-cli
+pkgver=0.9.0
+pkgrel=1
+pkgdesc="Gitlab Release CLI"
+arch=('x86_64')
+url="https://gitlab.com/gitlab-org/release-cli"
+license=('MIT')
+depends=('glibc')
+makedepends=('go')
+source=("$pkgname-$pkgver.tar.gz::https://gitlab.com/gitlab-org/${pkgname}/-/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz")
+sha512sums=('9717fea2d3d68debffad59332487ebe6bcca7beffea152c18bd1e0427acd595d658eed52c96fceb11ed9991a6c700fca74729d123e9614d9ebddd5fa9c228de3')
+b2sums=('db249a458e3f138beffa954928ea47db32d96b80c7cb75642aee8966ddf2972641dbdde7e3b8bcc6f8f0beaf5d1f0beaa476dec99ec48456c6d514fd47a19cb2')
+
+prepare() {
+ mv -v "$pkgname-v$pkgver" "$pkgname-$pkgver"
+ cd "$pkgname-$pkgver"
+ mkdir -vp build
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
+
+ go build -o "build/${pkgname}" "./cmd/${pkgname}"
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ install -vDm 755 "build/${pkgname}" -t "${pkgdir}/usr/bin"
+ install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -vDm 644 {CHANGELOG,README}.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+ cd docs
+ find . -type f -iname "*.md" -exec install -vDm 644 {} "${pkgdir}/usr/share/doc/${pkgname}/"{} \;
+}
More information about the arch-commits
mailing list