[arch-commits] Commit in timescaledb-tune/repos/community-x86_64 (PKGBUILD PKGBUILD)

George Rawlinson grawlinson at gemini.archlinux.org
Wed Aug 31 01:52:44 UTC 2022


    Date: Wednesday, August 31, 2022 @ 01:52:43
  Author: grawlinson
Revision: 1289097

archrelease: copy trunk to community-x86_64

Added:
  timescaledb-tune/repos/community-x86_64/PKGBUILD
    (from rev 1289096, timescaledb-tune/trunk/PKGBUILD)
Deleted:
  timescaledb-tune/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  107 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 54 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-31 01:51:11 UTC (rev 1289096)
+++ PKGBUILD	2022-08-31 01:52:43 UTC (rev 1289097)
@@ -1,53 +0,0 @@
-# Maintainer: George Rawlinson <george at rawlinson.net.nz>
-
-pkgname=timescaledb-tune
-pkgver=0.13.1
-pkgrel=1
-pkgdesc='A tool for tuning TimescaleDB for better performance'
-arch=('x86_64')
-url='https://github.com/timescale/timescaledb-tune'
-license=('Apache')
-depends=('glibc' 'postgresql')
-makedepends=('git' 'go')
-options=('!lto')
-_commit='0d781e1ac0607b868155fdf2b22960749c220ddf'
-source=("$pkgname::git+$url#commit=$_commit")
-b2sums=('SKIP')
-
-pkgver() {
-  cd "$pkgname"
-
-  git describe --tags | sed 's/^v//'
-}
-
-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 \
-    -buildmode=pie \
-    -trimpath \
-    -mod=readonly \
-    -modcacherw \
-    -ldflags "-linkmode external -extldflags ${LDFLAGS}" \
-    -o build \
-    ./cmd/...
-}
-
-package() {
-  install -Dm755 -t "$pkgdir/usr/bin" "$pkgname/build/$pkgname"
-}

Copied: timescaledb-tune/repos/community-x86_64/PKGBUILD (from rev 1289096, timescaledb-tune/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-31 01:52:43 UTC (rev 1289097)
@@ -0,0 +1,54 @@
+# Maintainer: George Rawlinson <george at rawlinson.net.nz>
+
+pkgname=timescaledb-tune
+pkgver=0.14.0
+pkgrel=1
+pkgdesc='A tool for tuning TimescaleDB for better performance'
+arch=('x86_64')
+url='https://github.com/timescale/timescaledb-tune'
+license=('Apache')
+depends=('glibc' 'postgresql')
+makedepends=('git' 'go')
+options=('!lto')
+_commit='03b980c41db61b5cea952f3b9b87bbb0ddf21fa9'
+source=("$pkgname::git+$url#commit=$_commit")
+b2sums=('SKIP')
+
+pkgver() {
+  cd "$pkgname"
+
+  # multiple tags on same commit (0.14/0.13.2), remove on next update
+  git describe --tags --exclude 'v0.13*' | sed 's/^v//'
+}
+
+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 \
+    -buildmode=pie \
+    -trimpath \
+    -mod=readonly \
+    -modcacherw \
+    -ldflags "-linkmode external -extldflags ${LDFLAGS}" \
+    -o build \
+    ./cmd/...
+}
+
+package() {
+  install -Dm755 -t "$pkgdir/usr/bin" "$pkgname/build/$pkgname"
+}



More information about the arch-commits mailing list