mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
community/netdata to 1.20.0-3
This commit is contained in:
parent
ecc56caed7
commit
5f5a14ad62
1 changed files with 4 additions and 9 deletions
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
pkgname=netdata
|
pkgname=netdata
|
||||||
pkgver=1.20.0
|
pkgver=1.20.0
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
pkgdesc="Real-time performance monitoring, in the greatest possible detail, over the web"
|
pkgdesc="Real-time performance monitoring, in the greatest possible detail, over the web"
|
||||||
url="https://github.com/netdata/netdata"
|
url="https://github.com/netdata/netdata"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
|
@ -23,12 +23,10 @@ optdepends=('nodejs: for monitoring named and SNMP devices'
|
||||||
'hddtemp: for monitoring hhd temperature'
|
'hddtemp: for monitoring hhd temperature'
|
||||||
'apcupsd: for monitoring APC UPS'
|
'apcupsd: for monitoring APC UPS'
|
||||||
'iw: for monitoring Linux as access point')
|
'iw: for monitoring Linux as access point')
|
||||||
install="$pkgname.install"
|
install=$pkgname.install
|
||||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/netdata/netdata/archive/v${pkgver}.tar.gz"
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/netdata/netdata/archive/v${pkgver}.tar.gz"
|
||||||
"$pkgname.tmpfiles"
|
|
||||||
"$pkgname.sysusers")
|
"$pkgname.sysusers")
|
||||||
sha512sums=('ada398cdccf1b1b4dbac5b24d4539f86aafb964458aa4f3bdfac336362504aab6d74b7f2f12bad18b62a44bb62d1a2a8ddd0c2ed80a7c16bc388854d4210bcb6'
|
sha512sums=('ada398cdccf1b1b4dbac5b24d4539f86aafb964458aa4f3bdfac336362504aab6d74b7f2f12bad18b62a44bb62d1a2a8ddd0c2ed80a7c16bc388854d4210bcb6'
|
||||||
'3f934ddd1f5248f9e11c29050c023d60b76e4098ec9c8d413bb362d43e9242f767fd58310d966076e8400779af8bda2459afcc314b267fcb9f1c84173e14e313'
|
|
||||||
'a910809a823ba58ca7bdaa72e8d68427b48f452c1fbb2343fa182ecb0a091a7640e73af24b8ba2fdd90e00aed8ef53b7fccd25cb8f04ca9b9fa6c8e52223ca66')
|
'a910809a823ba58ca7bdaa72e8d68427b48f452c1fbb2343fa182ecb0a091a7640e73af24b8ba2fdd90e00aed8ef53b7fccd25cb8f04ca9b9fa6c8e52223ca66')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
|
@ -57,14 +55,11 @@ package() {
|
||||||
|
|
||||||
make DESTDIR="$pkgdir" install
|
make DESTDIR="$pkgdir" install
|
||||||
|
|
||||||
# Remove /var/*, pacman creates it via tmpfiles hook
|
|
||||||
rm -vrf "${pkgdir}/var"
|
|
||||||
install -Dm644 system/netdata.conf "$pkgdir"/etc/netdata/netdata.conf
|
install -Dm644 system/netdata.conf "$pkgdir"/etc/netdata/netdata.conf
|
||||||
chown -R 134:134 "$pkgdir"/etc/netdata
|
chown -R 0:134 "$pkgdir"/etc/netdata
|
||||||
chown -R 134:134 "$pkgdir"/usr/share/netdata/web
|
chown -R 0:134 "$pkgdir"/usr/share/netdata/web
|
||||||
|
|
||||||
install -Dm0644 "system/netdata.service" "$pkgdir/usr/lib/systemd/system/netdata.service"
|
install -Dm0644 "system/netdata.service" "$pkgdir/usr/lib/systemd/system/netdata.service"
|
||||||
install -Dm0644 "system/netdata.logrotate" "$pkgdir/etc/logrotate.d/netdata"
|
install -Dm0644 "system/netdata.logrotate" "$pkgdir/etc/logrotate.d/netdata"
|
||||||
install -Dm0644 "${srcdir}/${pkgname}.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/${pkgname}.conf"
|
|
||||||
install -Dm0644 "${srcdir}/${pkgname}.sysusers" "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
|
install -Dm0644 "${srcdir}/${pkgname}.sysusers" "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue