diff options
author | Douglas Chimento | 2022-01-14 14:55:42 +0200 |
---|---|---|
committer | Douglas Chimento | 2022-01-14 14:55:42 +0200 |
commit | c7cb3e13572d9008e1fb7fdcfe7befbd7b6bf398 (patch) | |
tree | 0647b170a257a1bc68091ba1333ddd682bb98086 | |
parent | 29e08448d7476e18fa7e31c9b21ed1fa71c03df8 (diff) | |
download | aur-c7cb3e13572d9008e1fb7fdcfe7befbd7b6bf398.tar.gz |
adding timer
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 7 | ||||
-rw-r--r-- | btc-cirrus-reporter.timer | 8 |
3 files changed, 15 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = btc-cirrus-reporter pkgdesc = bitcoin core cirrus reporter pkgver = db2b312 - pkgrel = 1 + pkgrel = 2 url = https://github.com/pro-bitcoin/cirrus-ci-reporter arch = any license = MIT @@ -11,6 +11,8 @@ pkgbase = btc-cirrus-reporter source = btc-cirrus-reporter::git+https://github.com/pro-bitcoin/cirrus-ci-reporter.git source = btc-cirrus-reporter.service source = btc-cirrus-reporter.env + source = btc-cirrus-reporter.timer + sha256sums = SKIP sha256sums = SKIP sha256sums = SKIP sha256sums = SKIP @@ -1,13 +1,13 @@ pkgname=btc-cirrus-reporter pkgver=db2b312 -pkgrel=1 +pkgrel=2 pkgdesc='bitcoin core cirrus reporter' arch=('any') url="https://github.com/pro-bitcoin/cirrus-ci-reporter" license=('MIT') makedepends=('go' 'make') -source=("${pkgname}::git+https://github.com/pro-bitcoin/cirrus-ci-reporter.git" "btc-cirrus-reporter.service" "btc-cirrus-reporter.env") -sha256sums=('SKIP' 'SKIP' 'SKIP') +source=("${pkgname}::git+https://github.com/pro-bitcoin/cirrus-ci-reporter.git" "btc-cirrus-reporter.service" "btc-cirrus-reporter.env" "btc-cirrus-reporter.timer") +sha256sums=('SKIP' 'SKIP' 'SKIP' 'SKIP') backup=('etc/default/btc-cirrus-reporter') pkgver() { @@ -25,4 +25,5 @@ package() { install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname install -Dm600 "$srcdir/btc-cirrus-reporter.env" "$pkgdir/etc/default/btc-cirrus-reporter" install -Dm644 "$srcdir/btc-cirrus-reporter.service" -t "$pkgdir/usr/lib/systemd/system" + install -Dm644 "$srcdir/btc-cirrus-reporter.timer" -t "$pkgdir/usr/lib/systemd/system" } diff --git a/btc-cirrus-reporter.timer b/btc-cirrus-reporter.timer new file mode 100644 index 000000000000..882c3fd04cfd --- /dev/null +++ b/btc-cirrus-reporter.timer @@ -0,0 +1,8 @@ +[Unit] +Description=Timeline of btc-cirrus-reporter + +[Timer] +OnCalendar=hourly + +[Install] +WantedBy=timers.target |