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

George Rawlinson grawlinson at gemini.archlinux.org
Thu Apr 28 07:53:07 UTC 2022


    Date: Thursday, April 28, 2022 @ 07:53:07
  Author: grawlinson
Revision: 1191497

archrelease: copy trunk to community-x86_64

Added:
  drone-cli/repos/community-x86_64/PKGBUILD
    (from rev 1191496, drone-cli/trunk/PKGBUILD)
Deleted:
  drone-cli/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  132 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 66 insertions(+), 66 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-28 07:52:26 UTC (rev 1191496)
+++ PKGBUILD	2022-04-28 07:53:07 UTC (rev 1191497)
@@ -1,66 +0,0 @@
-# Maintainer: George Rawlinson <grawlinson at archlinux.org>
-# Contributor: "Amhairghin" Oscar Garcia Amor (https://ogarcia.me)
-# Contributor: Franklyn Tackitt <franklyn at tackitt.net>
-# Contributor: Christian Höppner <chris at mkaito.com>
-
-pkgname=drone-cli
-pkgver=1.5.0
-pkgrel=1
-pkgdesc="Command line interface for Drone CI"
-arch=('x86_64')
-url="https://docs.drone.io/cli"
-license=('Apache')
-depends=('glibc')
-makedepends=('go' 'git')
-options=('!lto')
-_commit='92e84c4e2452f82ad093722d87ad054e1821805e'
-source=("$pkgname::git+https://github.com/harness/drone-cli.git#commit=$_commit")
-md5sums=('SKIP')
-
-pkgver() {
-  cd "$pkgname"
-  git describe --tags | sed 's/^[vV]//;s/-/+/g'
-}
-
-prepare() {
-  cd "$pkgname"
-
-  # create directory for build output
-  mkdir build
-
-  # download dependencies
-  go mod download
-}
-
-build() {
-  cd "$pkgname"
-
-  # set Go flags
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-
-  go build -v \
-    -trimpath \
-    -buildmode=pie \
-    -mod=readonly \
-    -modcacherw \
-    -ldflags "-linkmode external -extldflags ${LDFLAGS} -X main.version=$pkgver" \
-    -o build \
-    ./...
-}
-
-check() {
-  cd "$pkgname"
-  go test -v ./...
-}
-
-package() {
-  cd "$pkgname"
-
-  # binary
-  install -vDm755 -t "$pkgdir/usr/bin" build/drone
-
-  # documentation
-  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" *.md
-}

Copied: drone-cli/repos/community-x86_64/PKGBUILD (from rev 1191496, drone-cli/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-28 07:53:07 UTC (rev 1191497)
@@ -0,0 +1,66 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+# Contributor: "Amhairghin" Oscar Garcia Amor (https://ogarcia.me)
+# Contributor: Franklyn Tackitt <franklyn at tackitt.net>
+# Contributor: Christian Höppner <chris at mkaito.com>
+
+pkgname=drone-cli
+pkgver=1.5.0
+pkgrel=2
+pkgdesc='Command line interface for Drone CI'
+arch=('x86_64')
+url='https://docs.drone.io/cli'
+license=('Apache')
+depends=('glibc')
+makedepends=('go' 'git')
+options=('!lto')
+_commit='92e84c4e2452f82ad093722d87ad054e1821805e'
+source=("$pkgname::git+https://github.com/harness/drone-cli.git#commit=$_commit")
+md5sums=('SKIP')
+
+pkgver() {
+  cd "$pkgname"
+  git describe --tags | sed 's/^[vV]//;s/-/+/g'
+}
+
+prepare() {
+  cd "$pkgname"
+
+  # create directory for build output
+  mkdir build
+
+  # download dependencies
+  go mod download
+}
+
+build() {
+  cd "$pkgname"
+
+  # set Go flags
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+
+  go build -v \
+    -trimpath \
+    -buildmode=pie \
+    -mod=readonly \
+    -modcacherw \
+    -ldflags "-linkmode external -extldflags ${LDFLAGS} -X main.version=$pkgver" \
+    -o build \
+    ./...
+}
+
+check() {
+  cd "$pkgname"
+  go test -v ./...
+}
+
+package() {
+  cd "$pkgname"
+
+  # binary
+  install -vDm755 -t "$pkgdir/usr/bin" build/drone
+
+  # documentation
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" *.md
+}



More information about the arch-commits mailing list