1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Contributor: Leah (ctucx) <leah@ctu.cx>
# Maintainer: Leah (ctucx) <leah@ctu.cx>
pkgname=monitorix
pkgver=3.12.0
pkgrel=8
pkgdesc="Take control over your small server"
url="https://www.monitorix.org/"
arch="noarch"
license="MIT"
depends="rrdtool perl perl-cgi perl-rrd perl-config-general perl-config-simple perl-dbi perl-http-server-simple perl-libwww perl-mailtools perl-mime-lite perl-xml-simple"
makedepends=""
subpackages="${pkgname}-doc ${pkgname}-openrc"
source="${pkgname}-${pkgver}.tar.gz::https://www.monitorix.org/monitorix-${pkgver}.tar.gz
${pkgname}.initd
${pkgname}.confd"
builddir="${srcdir}/${pkgname}-${pkgver}/"
build() {
:
}
check() {
:
}
package() {
cd $builddir
make DESTDIR=${pkgdir} install-bin
make DESTDIR=${pkgdir} install-docs
install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
install -Dm755 "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
}
sha512sums="7cbdb27df1d84e87f0b99d310d3b3a7c27e369adc82c88e297966e36de82c2f800474447dd628041f2feb89817ee496cbae65a4b0e4942a2f75c900f16ccfcf1 monitorix-3.12.0.tar.gz
4b27cf9c3e29934b38cd0503a5a570e9c1ec8c1fbdc9d2cd3392139a707ebade38eaad88c4a8e351575df6913c57f8b8323dd947beb80d76f7a0966138a41240 monitorix.initd
66a9a59feabba067798d020fc4c913afc87c9493e7e7918180d26b6f60fb4615b9ae5d64a74317eaee1abcb8151e8f99a795f4cc86f7a6ee4afcb839b606a121 monitorix.confd"