PKGBUILD 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. # $Id: PKGBUILD 287876 2017-02-01 15:04:41Z bpiotrowski $
  2. # Maintainer (arch): Dave Reisner <dreisner@archlinux.org>
  3. # Contributor: Gaetan Bisson <bisson@archlinux.org>
  4. # Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
  5. # Contributor: Jeff 'codemac' Mickey <jeff@archlinux.org>
  6. # Contributor: simo <simo@archlinux.org>
  7. # Contributor: FUBAR <mrfubar@gmail.com>
  8. # Maintainer: Márcio Silva <coadde@hyperbola.info>
  9. pkgname=bitlbee
  10. pkgver=3.5.1
  11. pkgrel=1.parabola1.nonprism1
  12. pkgdesc='Brings XMPP to IRC, without nonfree Skype support and support for unsafe and dangerous for privacy protocols'
  13. url='http://www.bitlbee.org/'
  14. license=('GPL')
  15. arch=('i686' 'x86_64' 'armv7h')
  16. depends=('gnutls' 'glib2')
  17. makedepends=('python' 'libotr')
  18. optdepends=('libotr: for OTR encryption support')
  19. replaces=("${pkgname}-libre" "${pkgname}-parabola" "${pkgname}-coherence" "${pkgname}-libre-nonprism" "${pkgname}-nonprism")
  20. conflicts=("${pkgname}-libre" "${pkgname}-parabola" "${pkgname}-coherence" "${pkgname}-libre-nonprism" "${pkgname}-nonprism")
  21. source=("http://get.bitlbee.org/src/$pkgname-$pkgver.tar.gz"
  22. 'bitlbee.tmpfiles')
  23. sha1sums=('de0767facdb7729253ae4d6ef6e3637ebd54939a'
  24. '3695ed2fe22436c4d0fc3ead829f7d1f89bc491c')
  25. backup=('etc/bitlbee/bitlbee.conf'
  26. 'etc/bitlbee/motd.txt')
  27. install=bitlbee.install
  28. build() {
  29. cd "$pkgname-$pkgver"
  30. ./configure \
  31. --prefix=/usr \
  32. --etcdir=/etc/bitlbee \
  33. --sbindir=/usr/bin \
  34. --pidfile=/run/bitlbee/bitlbee.pid \
  35. --ipcsocket=/run/bitlbee/bitlbee.sock \
  36. --systemdsystemunitdir=/usr/lib/systemd/system \
  37. --jabber=1 \
  38. --msn=0 \
  39. --oscar=0 \
  40. --yahoo=0 \
  41. --twitter=0 \
  42. --ssl=gnutls \
  43. --strip=0 \
  44. --otr=plugin \
  45. --skype=0
  46. make
  47. }
  48. package() {
  49. make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install{,-etc,-dev,-systemd}
  50. install -o65 -g65 -dm770 "$pkgdir/var/lib/bitlbee"
  51. install -Dm644 "$srcdir/bitlbee.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/bitlbee.conf"
  52. }