summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..dbd09003d03
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: AndrĂ¡s Wacha <awacha aT gMaIl>
+pkgname=monitoring-plugins-snmp-printer
+pkgver=0.1.0
+pkgrel=1
+pkgdesc="Monitoring plugin for Nagios, Icinga etc. for SNMP Printers"
+arch=('any')
+url="https://exchange.nagios.org/directory/Plugins/Hardware/Printers/check_snmp_printer/details"
+license=('GPL')
+depends=('net-snmp' 'monitoring-plugins')
+makedepends=()
+checkdepends=()
+source=("https://exchange.nagios.org/components/com_mtree/attachment.php?link_id=633&cf_id=24"
+ )
+
+md5sums=('780334d0b97ba015244797481cfea201')
+
+
+prepare() {
+ cp attachment.php\?link_id\=633\&cf_id\=24 check_snmp_printer
+# patch check_kdc < check_kdc.patch
+}
+
+package() {
+ mkdir -p ${pkgdir}/usr/lib/monitoring-plugins/
+ cp check_snmp_printer ${pkgdir}/usr/lib/monitoring-plugins/check_snmp_printer
+ chmod +x ${pkgdir}/usr/lib/monitoring-plugins/check_snmp_printer
+}