diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2015-01-19 15:11:52 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2015-06-01 16:03:46 +0200 |
commit | ad2847dafab2d126662ada313904d29d407801da (patch) | |
tree | 404b74541d71a91c9d6a5a6881743a11d60623ac | |
download | pkgbuilds-ad2847dafab2d126662ada313904d29d407801da.tar.xz |
irker-git: initial import
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 34 |
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..b38cfd4 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +# Generated by makepkg 4.2.1 +# Mon Jun 1 14:54:31 UTC 2015 +pkgbase = irker-git + pkgdesc = IRC client daemon accepting JSON notification requests + pkgver = 2.12.r6.gd6c1e1c + pkgrel = 1 + url = http://www.catb.org/esr/irker/ + arch = any + license = BSD + makedepends = xmlto + makedepends = docbook-xml + makedepends = docbook-xsl + depends = python2 + source = git+https://gitorious.org/irker/irker.git + sha1sums = SKIP + +pkgname = irker-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..577610d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +pkgname=irker-git +pkgver=2.12.r6.gd6c1e1c +pkgrel=1 + +pkgdesc="IRC client daemon accepting JSON notification requests" +url="http://www.catb.org/esr/irker/" +arch=('any') +license=('BSD') + +depends=('python2') +makedepends=('xmlto' 'docbook-xml' 'docbook-xsl') + +source=('git+https://gitorious.org/irker/irker.git') + +sha1sums=('SKIP') + +pkgver() { + cd irker + git describe --long | sed -r 's/([^-]*-g)/r\1/; s/-/./g' +} + +build() { + cd irker + sed -i '1s|python|python2|' irk irkerd irkerhook.py + make +} + +package() { + cd irker + 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 +} |