[arch-commits] Commit in doctl/repos/community-x86_64 (PKGBUILD PKGBUILD)
Kpcyrd
kpcyrd at archlinux.org
Fri Oct 9 20:36:00 UTC 2020
Date: Friday, October 9, 2020 @ 20:36:00
Author: kpcyrd
Revision: 722789
archrelease: copy trunk to community-x86_64
Added:
doctl/repos/community-x86_64/PKGBUILD
(from rev 722788, doctl/trunk/PKGBUILD)
Deleted:
doctl/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 82 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 41 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-10-09 20:35:46 UTC (rev 722788)
+++ PKGBUILD 2020-10-09 20:36:00 UTC (rev 722789)
@@ -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.48.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=('e168508d55cdd2a55b3276ce026913d5ced5c74d7571ebbe28261e991783357e0e16d090b358e3c4f9b3c7772278b0ada294ec1e38d85af3e9df8487aac0bfdc')
-b2sums=('4cd9260859e3236cc86298b47d50952e7e35dbca3236962cca0d4030c0eb699601506d9d49ba00bd6497f3a45a8c60991200803de319cf450e57837affe5b918')
-
-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 722788, doctl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-10-09 20:36:00 UTC (rev 722789)
@@ -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.48.1
+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=('36803d77eccf7cc39d7a8d62cecb6d8e9df868078ab41b18f89a8a9f8c03fb52d955d79207f5b091b127cad82af47df5e17a847227d651d40a52e99241f5f3ef')
+b2sums=('dacad59dd815b185838eaa57ecb58a4789cb9a1f58043cb2650de8322b902681cddfdda6ecffd4b52a2cdbff12c9a1786586083118bd719e19b13d0ad83c1f83')
+
+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