aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-03-29 12:41:21 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2015-06-08 12:17:06 +0200
commit99d8f138e155a3baec6dbdb9b525613dafdebefc (patch)
treec99771c62029065883bd99c94668a619d9e1822f
downloadpkgbuilds-99d8f138e155a3baec6dbdb9b525613dafdebefc.tar.xz
irker: Initial import
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD31
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 0000000..a13f645
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+# Generated by makepkg 4.2.1
+# Mon Jun 1 13:54:05 UTC 2015
+pkgbase = irker
+ pkgdesc = An IRC client daemon accepting JSON notification requests presented to a socket.
+ pkgver = 2.7
+ pkgrel = 1
+ url = http://www.catb.org/esr/irker/
+ arch = any
+ license = BSD
+ makedepends = xmlto
+ makedepends = docbook-xml
+ makedepends = docbook-xsl
+ depends = python2
+ source = http://www.catb.org/~esr/irker/irker-2.7.tar.gz
+ md5sums = 34dc7b64d20c18d9e50806501a441213
+
+pkgname = irker
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..2a3500d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Johannes Löthberg <johannes@kyriasis.com>
+# Contributor: Josh Cartwright <joshc@eso.teric.us>
+
+pkgname=irker
+pkgver=2.7
+pkgrel=1
+
+pkgdesc="An IRC client daemon accepting JSON notification requests presented to a socket."
+arch=('any')
+url="http://www.catb.org/esr/irker/"
+license=('BSD')
+
+depends=('python2')
+makedepends=('xmlto' 'docbook-xml' 'docbook-xsl')
+
+source=("http://www.catb.org/~esr/irker/$pkgname-$pkgver.tar.gz")
+md5sums=('34dc7b64d20c18d9e50806501a441213')
+
+build() {
+ cd irker-$pkgver
+ sed -i '1s|python|python2|' irk irkerd irkerhook.py
+ make
+}
+
+package() {
+ cd irker-$pkgver
+ make DESTDIR="$pkgdir" install
+ install -Dm 755 irkerhook.py "$pkgdir/usr/bin/irkerhook.py"
+ install -Dm 755 irk "$pkgdir/usr/bin/irk"
+ install -Dm 644 COPYING "$pkgdir/usr/share/licenses/irker/LICENSE"
+}