PKGBUILD 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. # Maintainer (arch): Evangelos Foutras <evangelos@foutrelis.com>
  2. # Contributor: Ionut Biru <ibiru@archlinux.org>
  3. # Contributor: Andrea Scarpino <andrea@archlinux.org>
  4. # Contributor: Alexander Fehr <pizzapunk gmail com>
  5. # Contributor: Lucien Immink <l.immink@student.fnt.hvu.nl>
  6. # Contributor: André Silva <emulatorman@hyperbola.info>
  7. # Contributor: Márcio Silva <coadde@hyperbola.info>
  8. # Maintainer: bill-auger <bill-auger@programmer.net>
  9. # parabola changes and rationale:
  10. # - in [libre] for pbot
  11. # NOTE: for the purpose of diffing, this PKGBUILD is actually 'pidgin'
  12. # compiling bridgin requires a built pidgin source tree
  13. pkgname='libpurple-bridgin'
  14. pkgver=0.5.1
  15. _pidginname=pidgin
  16. _pidginver=2.14.4
  17. pkgrel=1
  18. pkgdesc="pidgin/finch plugin, to bridge chat conversations"
  19. arch=('x86_64')
  20. arch+=('armv7h' 'i686')
  21. url="https://pidgin.im/"
  22. license=('GPL')
  23. makedepends=('startup-notification' 'gtkspell' 'libxss' 'nss' 'libsasl' 'libsm'
  24. 'libidn' 'libgadu' 'python' 'hicolor-icon-theme' 'farstream' 'tk'
  25. 'libnsl' 'avahi' 'ca-certificates' 'intltool' 'libnm' 'dbus-glib'
  26. 'libgnt' 'libxcrypt')
  27. depends=('libpurple')
  28. options=('!emptydirs')
  29. source=(https://downloads.sourceforge.net/project/pidgin/Pidgin/$_pidginver/$_pidginname-$_pidginver.tar.bz2{,.asc})
  30. source+=(bridgin-$pkgver.tar.gz::https://github.com/bill-auger/bridgin/archive/v$pkgver.tar.gz)
  31. sha256sums=('67c1a0104b0624a50100c6d73cd5504d53c9d221922b1b28fa86020531a9904e'
  32. 'SKIP')
  33. sha256sums+=('c9c3b9824def963d7c3bee9c7d1e5684cc67f747ca4791ba93e55b667352d965')
  34. validpgpkeys=('40DE1DC7288FE3F50AB938C548F66AFFD9BDB729') # Gary Kramlich <grim@reaperworld.com>
  35. prepare() {
  36. cd ${_pidginname}-${_pidginver}
  37. # copy bridgin sources into plugins/ workdir
  38. cp "${srcdir}"/bridgin-$pkgver/* libpurple/plugins/
  39. }
  40. build() {
  41. cd ${_pidginname}-${_pidginver}
  42. # compile libpurple/pidgin/finch
  43. ./configure \
  44. --prefix=/usr \
  45. --sysconfdir=/etc \
  46. --disable-schemas-install \
  47. --disable-gevolution \
  48. --disable-meanwhile \
  49. --disable-gnutls \
  50. --enable-cyrus-sasl \
  51. --disable-doxygen \
  52. --enable-nm \
  53. --with-system-ssl-certs=/etc/ssl/certs
  54. make
  55. # compile bridgin plugin
  56. cd libpurple/plugins/
  57. make ./bridgin.so
  58. }
  59. package()
  60. {
  61. cd ${_pidginname}-${_pidginver}
  62. install -Dm644 libpurple/plugins/bridgin.so "${pkgdir}"/usr/lib/purple-2/bridgin.so
  63. }