From 0d11c291cd18fcc6e9df469a67585b426654d527 Mon Sep 17 00:00:00 2001 From: AlphaJack Date: Sun, 1 Nov 2020 12:07:16 +0100 Subject: [PATCH] Tidied PKGBUILD --- .SRCINFO | 2 +- PKGBUILD | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index b530f2a..dcd3397 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -12,7 +12,7 @@ pkgbase = librespeed-go license = LGPL3 makedepends = go>=1.13 optdepends = mariadb: database - optdepends = postgres: database + optdepends = postgresql: database conflicts = librespeed-go-bin backup = etc/librespeed/settings.toml backup = var/lib/librespeed/speedtest.db diff --git a/PKGBUILD b/PKGBUILD index 663c847..578dce6 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -10,7 +10,7 @@ arch=("i386" "x86_64" "aarch64" "armv5h" "armv6h" "armv7h") conflicts=("librespeed-go-bin") makedepends=("go>=1.13") optdepends=("mariadb: database" - "postgres: database") + "postgresql: database") source=("https://github.com/librespeed/speedtest-go/archive/v$pkgver.zip" "librespeed.service" "librespeed.sysusers" @@ -33,17 +33,17 @@ package(){ install -D -m 644 "librespeed.sysusers" "$pkgdir/usr/lib/sysusers.d/librespeed.conf" install -D -m 644 "librespeed.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/librespeed.conf" install -D -m 640 "settings.toml" "$pkgdir/etc/librespeed/settings.toml" - + cd "speedtest-go-$pkgver" install -d "$pkgdir/usr/share/librespeed" install -m 644 "database/mysql/telemetry_mysql.sql" "$pkgdir/usr/share/librespeed" install -m 644 "database/postgresql/telemetry_postgresql.sql" "$pkgdir/usr/share/librespeed" cp -r "assets" "$pkgdir/usr/share/librespeed" - + install -D "speedtest" "$pkgdir/usr/bin/librespeed" install -d -m 750 "$pkgdir/var/lib/librespeed" touch "$pkgdir/var/lib/librespeed/speedtest.db" - install -D -m 644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -D -m 644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" }