From 56f77ca0edcfbee7d2040a3ddf004c942b07fcdc Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Wed, 27 Nov 2013 22:47:23 +0100 Subject: Added xchat-otr --- .SRCINFO | 22 ++++++++++++++++++++++ PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 .SRCINFO create mode 100755 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..1af660b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +# Generated by makepkg 4.2.1 +# Mon Jun 1 15:02:35 UTC 2015 +pkgbase = xchat-otr + pkgdesc = Off-the-Record Messaging (OTR) plugin for the XChat IRC client + pkgver = 0.3 + pkgrel = 2 + url = http://irssi-otr.tuxfamily.org/ + arch = i686 + arch = x86_64 + license = GPL2 + makedepends = cmake + makedepends = pkgconfig + makedepends = python + depends = xchat + depends = libotr3 + source = http://download.tuxfamily.org/irssiotr/xchat-otr-0.3.tar.gz + source = http://xchat.org/docs/xchat-plugin.h + md5sums = 49706959af491c721a8a5a62bd224670 + md5sums = 5ee7da5abedc78a30b90e737370d8f0b + +pkgname = xchat-otr + diff --git a/PKGBUILD b/PKGBUILD new file mode 100755 index 0000000..97c4a4f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Tom +# Contributor: Johannes Löthberg +# Based on a quantax contribution for irssi-otr + +pkgname=xchat-otr +pkgver=0.3 +pkgrel=2 +pkgdesc="Off-the-Record Messaging (OTR) plugin for the XChat IRC client" +arch=('i686' 'x86_64') +url="http://irssi-otr.tuxfamily.org/" +license=('GPL2') +depends=('xchat' 'libotr3') +makedepends=('cmake' 'pkgconfig' 'python') +source=("http://download.tuxfamily.org/irssiotr/${pkgname}-${pkgver}.tar.gz" + 'http://xchat.org/docs/xchat-plugin.h') +md5sums=('49706959af491c721a8a5a62bd224670' + '5ee7da5abedc78a30b90e737370d8f0b') + +build() { + cd xchat-otr-$pkgver + mkdir -p xchat + install -m 644 "$srcdir"/xchat-plugin.h xchat/ + find . -type f -print0 | xargs -0 sed -i 's|libotr|libotr3|g' + cmake -DCMAKE_INSTALL_PREFIX=/usr . -DLIBOTR_LIBRARY=/usr/lib/libotr3.so + make +} + +package(){ + cd xchat-otr-$pkgver + make DESTDIR="$pkgdir" install + mv "$pkgdir"/usr/share/doc/irssi-otr "$pkgdir"/usr/share/doc/xchat-otr + install -m 644 README.xchat ${pkgdir}/usr/share/doc/xchat-otr +} -- cgit v1.2.3-70-g09d2