diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2013-10-20 01:41:11 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2013-10-20 01:41:11 -0200 |
commit | c46cfdc13303f59c9a67726665098f1788f56d4e (patch) | |
tree | 3bae33d1f94400972e93399d183565a0c4225323 /pcr/xchat-otr/PKGBUILD | |
parent | 81780a4bc7f219efaed9b01806a176646ef1479b (diff) | |
parent | 673c5f81c64f9a9757f009bddddc5f4ab230e4b4 (diff) | |
download | abslibre-c46cfdc13303f59c9a67726665098f1788f56d4e.tar.gz abslibre-c46cfdc13303f59c9a67726665098f1788f56d4e.tar.bz2 abslibre-c46cfdc13303f59c9a67726665098f1788f56d4e.zip |
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/xchat-otr/PKGBUILD')
-rw-r--r-- | pcr/xchat-otr/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pcr/xchat-otr/PKGBUILD b/pcr/xchat-otr/PKGBUILD new file mode 100644 index 000000000..7bc6e8c41 --- /dev/null +++ b/pcr/xchat-otr/PKGBUILD @@ -0,0 +1,31 @@ +# Contributor: Tom <tomgparchaur@gmail.com> +# 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=('GPL') +depends=('xchat' 'libotr3') +makedepends=('cmake' 'pkgconfig' 'python') +source=("ftp://download.tuxfamily.org/irssiotr/${pkgname}-${pkgver}.tar.gz" + 'http://xchat.org/docs/xchat-plugin.h') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + mkdir -p ${srcdir}/${pkgname}-${pkgver}/xchat + install -m 644 ${srcdir}/xchat-plugin.h ${srcdir}/${pkgname}-${pkgver}/xchat/ || return 1 + find ${srcdir}/${pkgname}-${pkgver} -type f -print0 | xargs -0 sed -i 's@libotr/@libotr3/@g' + cmake -DXCHAT_INCLUDE_DIR=${srcdir}/${pkgname}-${pkgver} -DCMAKE_INSTALL_PREFIX=/usr . -DLIBOTR_LIBRARY=/usr/lib/libotr3.so + make || return 1 + make DESTDIR=${pkgdir} install || return 1 + mv ${pkgdir}/usr/share/doc/irssi-otr ${pkgdir}/usr/share/doc/xchat-otr || return 1 + install -m 644 ${srcdir}/${pkgname}-${pkgver}/README.xchat ${pkgdir}/usr/share/doc/xchat-otr || return 1 + rm ${pkgdir}/usr/share/doc/xchat-otr/LICENSE || return 1 +} + +md5sums=('49706959af491c721a8a5a62bd224670' + '5ee7da5abedc78a30b90e737370d8f0b') + |