[arch-commits] Commit in doctl/repos/community-x86_64 (PKGBUILD PKGBUILD)
Kpcyrd
kpcyrd at gemini.archlinux.org
Wed Oct 6 20:34:33 UTC 2021
Date: Wednesday, October 6, 2021 @ 20:34:32
Author: kpcyrd
Revision: 1027886
archrelease: copy trunk to community-x86_64
Added:
doctl/repos/community-x86_64/PKGBUILD
(from rev 1027885, doctl/trunk/PKGBUILD)
Deleted:
doctl/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 82 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 41 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-10-06 20:34:14 UTC (rev 1027885)
+++ PKGBUILD 2021-10-06 20:34:32 UTC (rev 1027886)
@@ -1,41 +0,0 @@
-# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
-# Contributor: NOGISAKA Sadata <ngsksdt at gmail.com>
-# Contributor: Bennett Piater <bennett at piater dot name>
-
-pkgname=doctl
-pkgver=1.64.0
-pkgrel=1
-pkgdesc='The official command line interface for the DigitalOcean API'
-url='https://github.com/digitalocean/doctl'
-arch=('x86_64')
-license=('Apache')
-depends=('glibc')
-makedepends=('go')
-source=(https://github.com/digitalocean/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('a0a104d1bcff7565c707c25986dfa13fab38166aefde30396e841889ffa31a41aa74e91f403a9787a2381194beeb9f7cac608438c96a450aa13e873eba5e6c24')
-b2sums=('b4828d3554a475f5520512574ebb5382183e587f1156a7eefea146050e4b944b14fc4218007e9a056ad9430058431c1e4399f89bad407270f8e2138744b61133')
-
-build() {
- cd ${pkgname}-${pkgver}
- go build \
- -trimpath \
- -buildmode=pie \
- -mod=readonly \
- -ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" \
- ./cmd/...
-}
-
-package() {
- cd ${pkgname}-${pkgver}
- install -Dm 755 "${pkgname}" -t "${pkgdir}/usr/bin"
-
- # setup completions
- install -dm 755 "${pkgdir}/usr/share/bash-completion/completions" \
- "${pkgdir}/usr/share/zsh/site-functions" \
- "${pkgdir}/usr/share/fish/vendor_completions.d"
- "${pkgdir}/usr/bin/${pkgname}" completion bash > "${pkgdir}/usr/share/bash-completion/completions/${pkgname}"
- "${pkgdir}/usr/bin/${pkgname}" completion zsh > "${pkgdir}/usr/share/zsh/site-functions/_${pkgname}"
- "${pkgdir}/usr/bin/${pkgname}" completion fish > "${pkgdir}/usr/share/fish/vendor_completions.d/${pkgname}.fish"
-}
-
-# vim: ts=2 sw=2 et:
Copied: doctl/repos/community-x86_64/PKGBUILD (from rev 1027885, doctl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-10-06 20:34:32 UTC (rev 1027886)
@@ -0,0 +1,41 @@
+# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
+# Contributor: NOGISAKA Sadata <ngsksdt at gmail.com>
+# Contributor: Bennett Piater <bennett at piater dot name>
+
+pkgname=doctl
+pkgver=1.65.0
+pkgrel=1
+pkgdesc='The official command line interface for the DigitalOcean API'
+url='https://github.com/digitalocean/doctl'
+arch=('x86_64')
+license=('Apache')
+depends=('glibc')
+makedepends=('go')
+source=(https://github.com/digitalocean/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('4ed0b9f234d239bb61e0b122e4253edc2813bcb82c11e1a7a2da262188adbe09af00d3094320ee6c9d6ebbdb6cc17a633787f8fe334eab5b912ef75f56c63106')
+b2sums=('c4f2d1bca06cb30bcd086660737cd5cbefe1e6fa7d118fc0985c060ce574669d3c40326c7ac8826950af7e30ef7fd61c0eeaae8099bece47715d6a07a21e63ec')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ go build \
+ -trimpath \
+ -buildmode=pie \
+ -mod=readonly \
+ -ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" \
+ ./cmd/...
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ install -Dm 755 "${pkgname}" -t "${pkgdir}/usr/bin"
+
+ # setup completions
+ install -dm 755 "${pkgdir}/usr/share/bash-completion/completions" \
+ "${pkgdir}/usr/share/zsh/site-functions" \
+ "${pkgdir}/usr/share/fish/vendor_completions.d"
+ "${pkgdir}/usr/bin/${pkgname}" completion bash > "${pkgdir}/usr/share/bash-completion/completions/${pkgname}"
+ "${pkgdir}/usr/bin/${pkgname}" completion zsh > "${pkgdir}/usr/share/zsh/site-functions/_${pkgname}"
+ "${pkgdir}/usr/bin/${pkgname}" completion fish > "${pkgdir}/usr/share/fish/vendor_completions.d/${pkgname}.fish"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list