summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Pohl2021-05-23 18:10:27 +0200
committerAlexander Pohl2021-05-23 18:10:27 +0200
commite1cc02a27024fc4ffcdc64aadd5b3f204abf7aeb (patch)
tree3a76a980142c157f94619f69f9ce32b937920ade
parentd38f6974b0a2d57a72afbda50c2db901933349b4 (diff)
downloadaur-e1cc02a27024fc4ffcdc64aadd5b3f204abf7aeb.tar.gz
updated package opt dependencies
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD5
2 files changed, 7 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0559bbadae72..d32438c48769 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = smartmeter
pkgdesc = Read energy utility meter with IR dongle
pkgver = 0.3.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/ahpohl/smartmeter
arch = i686
arch = x86_64
@@ -10,7 +10,9 @@ pkgbase = smartmeter
license = MIT
depends = mosquitto
optdepends = nodejs-node-red
- optdepends = influxdb
+ optdepends = postgresql
+ optdepends = timescaledb
+ optdepends = pg_cron
optdepends = grafana-bin
backup = etc/smartmeter.conf
source = smartmeter-0.3.0::git+https://github.com/ahpohl/smartmeter.git#tag=v0.3.0
diff --git a/PKGBUILD b/PKGBUILD
index 19b0b9262e93..21eef7c45631 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Alexander Pohl <alex at ahpohl dot com>
pkgname=smartmeter
pkgver=0.3.0
-pkgrel=1
+pkgrel=2
epoch=
pkgdesc="Read energy utility meter with IR dongle"
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
@@ -11,7 +11,7 @@ groups=()
depends=('mosquitto')
makedepends=()
checkdepends=()
-optdepends=('nodejs-node-red' 'influxdb' 'grafana-bin')
+optdepends=('nodejs-node-red' 'postgresql' 'timescaledb' 'pg_cron' 'grafana-bin')
provides=()
conflicts=()
replaces=()
@@ -34,6 +34,7 @@ package() {
make DESTDIR="$pkgdir/" PREFIX="/usr" install
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
install -Dm644 README.md "$pkgdir"/usr/share/doc/$pkgname/README.md
+ install -Dm644 CHANGELOG.md "$pkgdir"/usr/share/doc/$pkgname/CHANGELOG.md
install -Dm644 resources/smartmeter.service "$pkgdir"/usr/lib/systemd/system/smartmeter.service
install -Dm644 resources/smartmeter.conf "$pkgdir"/etc/smartmeter.conf
}