summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-09-20 21:50:28 +0200
committerErich Eckner <git@eckner.net>2019-09-20 21:50:28 +0200
commit6517c004d5d9cd4668c80a2a29e23f98b37b5050 (patch)
tree5310700a654da1fc3a7f5bf6d3265fdbb0f30e85
downloadnagircbot-6517c004d5d9cd4668c80a2a29e23f98b37b5050.tar.xz
initial commit
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD22
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 0000000..d706fd1
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = nagircbot
+ pkgdesc = IRC bot announcing Nagios status
+ pkgver = 0.0.33
+ pkgrel = 1
+ url = https://www.vanheusden.com/nagircbot/
+ arch = i686
+ arch = pentium4
+ arch = x86_64
+ license = GPL
+ depends = openssl
+ source = https://www.vanheusden.com/nagircbot/nagircbot-0.0.33.tgz
+ sha512sums = 1e4d69cef4a425e8540ff408688cf7899c04098ec47acbd6da601f48e01f808958982e7d8a1519934bd5aa895fe0f8dedc51d80460f85097355d5bdea79fd708
+
+pkgname = nagircbot
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..523dbbc
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: Erich Eckner <arch at eckner dot net>
+pkgname=nagircbot
+pkgver=0.0.33
+pkgrel=1
+arch=('i686' 'pentium4' 'x86_64')
+pkgdesc='IRC bot announcing Nagios status'
+url='https://www.vanheusden.com/nagircbot/'
+source=("https://www.vanheusden.com/$pkgname/$pkgname-$pkgver.tgz")
+sha512sums=('1e4d69cef4a425e8540ff408688cf7899c04098ec47acbd6da601f48e01f808958982e7d8a1519934bd5aa895fe0f8dedc51d80460f85097355d5bdea79fd708')
+license=(GPL)
+depends=(openssl)
+
+build() {
+ cd $pkgname-$pkgver
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ install -Dm755 nagircbot -t "$pkgdir/usr/bin"
+ install -Dm644 license.txt -t "$pkgdir/usr/share/licenses/$pkgname"
+}