[arch-commits] Commit in opensearch-cli/repos/community-x86_64 (PKGBUILD PKGBUILD)
Justin Kromlinger
hashworks at gemini.archlinux.org
Fri Jan 7 16:26:29 UTC 2022
Date: Friday, January 7, 2022 @ 16:26:29
Author: hashworks
Revision: 1095936
archrelease: copy trunk to community-x86_64
Added:
opensearch-cli/repos/community-x86_64/PKGBUILD
(from rev 1095935, opensearch-cli/trunk/PKGBUILD)
Deleted:
opensearch-cli/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 79 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 39 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-07 16:26:19 UTC (rev 1095935)
+++ PKGBUILD 2022-01-07 16:26:29 UTC (rev 1095936)
@@ -1,40 +0,0 @@
-# Maintainer: Justin Kromlinger <hashworks at archlinux.org>
-
-pkgname='opensearch-cli'
-pkgver=1.1.0
-pkgrel=1
-pkgdesc="A full-featured command line interface (CLI) for OpenSearch"
-url='https://opensearch.org/docs/latest/clients/cli/'
-arch=('x86_64')
-license=('Apache')
-conflicts=('opensearch')
-depends=('glibc')
-makedepends=('go')
-source=(
- "${pkgname}-${pkgver}.tar.gz::https://github.com/opensearch-project/opensearch-cli/archive/${pkgver}.tar.gz")
-sha512sums=(
- 'SKIP'
-)
-
-prepare() {
- cd ${pkgname}-${pkgver}
- go mod vendor
-}
-
-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 -mod=readonly -modcacherw -ldflags=-linkmode=external"
- go build -v -o ${pkgname} .
-}
-
-package() {
- cd ${pkgname}-${pkgver}
- install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- install -Dm755 ${pkgname} -t "${pkgdir}"/usr/bin/
-}
-
-# vim: ts=2 sw=2 et:
Copied: opensearch-cli/repos/community-x86_64/PKGBUILD (from rev 1095935, opensearch-cli/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-01-07 16:26:29 UTC (rev 1095936)
@@ -0,0 +1,39 @@
+# Maintainer: Justin Kromlinger <hashworks at archlinux.org>
+
+pkgname='opensearch-cli'
+pkgver=1.1.0
+pkgrel=2
+pkgdesc="A full-featured command line interface (CLI) for OpenSearch"
+url='https://opensearch.org/docs/latest/clients/cli/'
+arch=('x86_64')
+license=('Apache')
+depends=('glibc')
+makedepends=('go')
+source=(
+ "${pkgname}-${pkgver}.tar.gz::https://github.com/opensearch-project/opensearch-cli/archive/${pkgver}.tar.gz")
+sha512sums=(
+ 'SKIP'
+)
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ go mod vendor
+}
+
+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 -mod=readonly -modcacherw -ldflags=-linkmode=external"
+ go build -v -o ${pkgname} .
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm755 ${pkgname} -t "${pkgdir}"/usr/bin/
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list