aports/openrc-configs/telegraf-redxen-openrc/APKBUILD

26 lines
952 B
Plaintext

# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
pkgname=telegraf-redxen-openrc
pkgver=1
pkgrel=0
pkgdesc="Telegraf service files"
url="https://git.redxen.eu/RedXen"
arch="noarch"
license="none"
depends="openrc telegraf-redxen-config"
options="!check"
source="
runfile-$pkgname-$pkgver.$pkgrel.initd::https://git.alpinelinux.org/aports/plain/testing/telegraf/telegraf.initd
conffile
"
provides="telegraf-openrc"
builddir="$srcdir"
package() {
install -Dm755 "runfile-$pkgname-$pkgver.$pkgrel.initd" "$pkgdir"/etc/init.d/telegraf
install -Dm644 conffile "$pkgdir"/etc/conf.d/telegraf
}
sha512sums="abe483deb8e12fe140de2c36d17bbfbc97ed7a5de8c3d76162357f7ba6575b8236b7197b92a26ed6d54f95c1ccbfc12ca62d6cc0371bf49d10a1ea5622a51ed1 runfile-telegraf-redxen-openrc-1.0.initd
9bf080e445c9dbb1a8cab493dbf5d344be1cfe38164eb5fa84c8541f38a5506cddc797829dc51478215e06694c815b1174b134542116283e8bdaf07fa137466c conffile"