summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorVianney le Clément de Saint-Marcq2018-12-26 15:20:42 +0100
committerVianney le Clément de Saint-Marcq2018-12-26 15:20:42 +0100
commit8fc48dfc1a4be46e7d1819878a3a898f7456f81f (patch)
tree5ca7b8942dc4b5bdea3c815d20563dbe52408856
downloadaur-8fc48dfc1a4be46e7d1819878a3a898f7456f81f.tar.gz
Initial commit
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD25
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..026637088fe
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = herald
+ pkgdesc = Simple systemd Journal-to-XMPP bridge
+ pkgver = 0.1
+ pkgrel = 1
+ url = https://github.com/vianney/herald
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = go
+ depends = systemd
+ backup = etc/herald/config.toml
+ source = https://github.com/vianney/herald/archive/v0.1.tar.gz
+ md5sums = e2130a22bc8d6155f2353e2aa803fb86
+ sha256sums = 947fb8efa0d32eeffce114d336642b733fcd2f2598efdd8ac64d1aa9bb895d1b
+
+pkgname = herald
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..507f48871d6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Vianney le Clément de Saint-Marcq <code@quartic.eu>
+pkgname=herald
+pkgver=0.1
+pkgrel=1
+pkgdesc="Simple systemd Journal-to-XMPP bridge"
+arch=('i686' 'x86_64')
+url="https://github.com/vianney/herald"
+license=('GPL3')
+depends=('systemd')
+makedepends=('go')
+backup=('etc/herald/config.toml')
+source=("https://github.com/vianney/herald/archive/v${pkgver}.tar.gz")
+md5sums=('e2130a22bc8d6155f2353e2aa803fb86')
+sha256sums=('947fb8efa0d32eeffce114d336642b733fcd2f2598efdd8ac64d1aa9bb895d1b')
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ make
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 README.md "${pkgdir}/usr/share/doc/herald/README.md"
+}