diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-05-06 11:17:47 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-05-06 11:17:47 -0500 |
commit | b980aab8f6f9f449bada18205f5e139ceb655a54 (patch) | |
tree | 336bb50a7b699e3f6e4b9c41da7cbfaf42b6f2d0 /pcr/xchat-otr/PKGBUILD | |
parent | 1108cf8c0eba1ae386c306b6f1a9871d72f50fe9 (diff) | |
download | abslibre-b980aab8f6f9f449bada18205f5e139ceb655a54.tar.gz abslibre-b980aab8f6f9f449bada18205f5e139ceb655a54.tar.bz2 abslibre-b980aab8f6f9f449bada18205f5e139ceb655a54.zip |
xchat-otr-0.3-2.1: rebuild
Diffstat (limited to 'pcr/xchat-otr/PKGBUILD')
-rw-r--r-- | pcr/xchat-otr/PKGBUILD | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/pcr/xchat-otr/PKGBUILD b/pcr/xchat-otr/PKGBUILD index 2392e5f82..49dade1e2 100644 --- a/pcr/xchat-otr/PKGBUILD +++ b/pcr/xchat-otr/PKGBUILD @@ -1,31 +1,37 @@ # Contributor (Arch): Tom <tomgparchaur@gmail.com> +# Maintainer : Omar Vega Ramos <ovruni@gnu.org.pe> # Based on a quantax contribution for irssi-otr pkgname=xchat-otr pkgver=0.3 -pkgrel=2 +pkgrel=2.1 pkgdesc="Off-the-Record Messaging (OTR) plugin for the XChat IRC client" -arch=('i686' 'x86_64' 'mips64el') +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') +md5sums=('49706959af491c721a8a5a62bd224670' + '5ee7da5abedc78a30b90e737370d8f0b') + +prepare() { + mkdir -p ${srcdir}/${pkgname}-${pkgver}/xchat + mv ${srcdir}/xchat-plugin.h ${srcdir}/${pkgname}-${pkgver}/xchat +} 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 + make } -md5sums=('49706959af491c721a8a5a62bd224670' - '5ee7da5abedc78a30b90e737370d8f0b') - +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install + install -Dm644 README.xchat ${pkgdir}/usr/share/doc/${pkgname}/README.xchat + install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -r ${pkgdir}/usr/share/doc/irssi-otr/ +}
\ No newline at end of file |