[arch-commits] Commit in timescaledb-tune/trunk (PKGBUILD)

George Rawlinson grawlinson at gemini.archlinux.org
Fri Oct 15 06:54:05 UTC 2021


    Date: Friday, October 15, 2021 @ 06:54:04
  Author: grawlinson
Revision: 1030236

upgpkg: timescaledb-tune 0.12.0-1

* New upstream release.
* Switch module fetching process (vendor -> download).
* Remove version string patch (fixed upstream).

Modified:
  timescaledb-tune/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-10-15 06:51:54 UTC (rev 1030235)
+++ PKGBUILD	2021-10-15 06:54:04 UTC (rev 1030236)
@@ -1,7 +1,7 @@
 # Maintainer: George Rawlinson <george at rawlinson.net.nz>
 
 pkgname=timescaledb-tune
-pkgver=0.11.3
+pkgver=0.12.0
 pkgrel=1
 pkgdesc="A tool for tuning TimescaleDB for better performance"
 arch=('x86_64')
@@ -10,8 +10,8 @@
 depends=('glibc' 'postgresql')
 makedepends=('go')
 source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha512sums=('142272f1447ad6f0123d9e90cbbe9bb59387f3a4609e756e4d01440765f282bde3bf63ba6374706e7ab9f7c0af9e26995e6128aa537e61547bc0e12e037ded49')
-b2sums=('aa44f185ddcc2a581639115da5a2db25dd04f9a084dd0103c12e18b3f68caa06377b511ccfd9b4550ef5dda70a5cfc2d4eaa0d1f990f97e8d34f5772a6720440')
+sha512sums=('27bd3b48713643361754a549595d550d1b6aa301ca8e2033026a7b8503631c5e2781ddbdc7819b5ca8f6a7923b8e284ca81ed3d49845a89fd97b67f39411ba03')
+b2sums=('2ecc4d7f9b779b7dfecc3176fba0d819e7ae1117c443577f1f7458a6bfc9f227628cd2b99d2bec5530ca7b920b2c3707bcdc0b9ccb6edc770043522393b83287')
 
 prepare() {
   cd "$pkgname-$pkgver"
@@ -20,10 +20,7 @@
   mkdir build
 
   # download dependencies
-  go mod vendor
-
-  # fix version string
-  sed -i "s/^\tVersion =.*$/\tVersion = \"$pkgver\"/" pkg/tstune/tuner.go
+  go mod download
 }
 
 build() {
@@ -37,7 +34,7 @@
   go build -v \
     -buildmode=pie \
     -trimpath \
-    -mod=vendor \
+    -mod=readonly \
     -modcacherw \
     -ldflags "-linkmode external -extldflags ${LDFLAGS}" \
     -o build \



More information about the arch-commits mailing list