Advertisement
AndrzejL

bitlbee-bzr-libpurple PKGBUILD

Jun 1st, 2014
325
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.27 KB | None | 0 0
  1. # AndrzejL
  2.  
  3. pkgname=bitlbee-bzr-libpurple
  4. _pkgname=bitlbee
  5. pkgver=1005
  6. pkgrel=1
  7. pkgdesc="An IRC to IM gateway. Supports MSN, ICQ, Jabber, Yahoo!, and AIM. libpurple enabled."
  8. arch=('i686' 'x86_64')
  9. url="http://www.bitlbee.org/"
  10. license=('GPL')
  11. depends=('gnutls' 'glib2' 'libpurple-minimal')
  12. makedepends=('bzr' 'asciidoc' 'libotr' 'xmlto' 'lynx' 'gnutls' 'libpurple-minimal' 'glib2' 'pkg-config')
  13. checkdepends=('check')
  14. optdepends=('xinetd: to run bitlbee through xinetd'
  15. 'skype4py: to use skyped'
  16. 'libotr: for OTR encryption support')
  17. conflicts=('bitlbee' 'bitlbee-libpurple' 'bitlbee-bzr' 'bitlbee-bzr-libpurple' 'bitlbee-msn' 'bitlbee-msn-xiaoi' 'bitlbee-otr' 'bitlbee-otr-bzr' 'bitlbee-recode')
  18. backup=('etc/bitlbee/bitlbee.conf'
  19. 'etc/bitlbee/motd.txt'
  20. 'etc/xinetd.d/bitlbee')
  21. install=${_pkgname}.install
  22. provides=('bitlbee')
  23. _bzrmod=bitlbee
  24.  
  25. source=('bitlbee::bzr+http://code.bitlbee.org/bitlbee/'
  26. 'bitlbee.xinetd'
  27. 'bitlbee.rcd'
  28. '0001-local-clist.patch')
  29. sha512sums=('SKIP'
  30. '6225d950be752635dbc8e41f7ccf847bcac6636717f9d69f7e1c719e4cf16580ccf32edd15ef2bbfe924a7ee94320d57e41c58d75e97dc8b260bf7410ac13587'
  31. '90c7de716ad4f1ce1faf0204c3a379a5b4a880903b522a8c6efd82cb8e1d27b26b223234f9d2ec1219c82b9599049308a12316826a2f0c90a8301bee8fa5c3a2'
  32. 'a8a72fee753d6b039f7fb4c80a1cb7e542be9770a9ba49371d6843dc5e4b8aa0810d8dd84aa3dae3c1ab682864b655a60bb91e222d557f1aaea23a339b3a4924')
  33.  
  34. pkgver() {
  35. cd "$srcdir/$_bzrmod"
  36. bzr revno
  37. }
  38.  
  39. build() {
  40. cd "$srcdir/$_bzrmod"
  41. patch -Np1 -i ../0001-local-clist.patch
  42.  
  43. ./configure --prefix=/usr \
  44. --ssl=gnutls \
  45. --etcdir=/etc/bitlbee \
  46. --pidfile=/var/run/bitlbee/bitlbee.pid \
  47. --ipcsocket=/var/run/bitlbee/bitlbee.sock \
  48. --purple=1 \
  49. --twitter=1 \
  50. --strip=0 \
  51. --otr=plugin \
  52. --skype=plugin
  53. make
  54. }
  55.  
  56. package() {
  57. cd "$srcdir/$_bzrmod"
  58.  
  59. install -dm755 ${pkgdir}/var/lib
  60. install -o65 -g65 -dm0770 ${pkgdir}/var/lib/bitlbee
  61. install -dm755 ${pkgdir}/var/run
  62. install -o65 -g65 -dm755 ${pkgdir}/var/run/bitlbee
  63. install -Dm644 ${srcdir}/bitlbee.xinetd \
  64. ${pkgdir}/etc/xinetd.d/bitlbee
  65. install -Dm755 ${srcdir}/bitlbee.rcd \
  66. ${pkgdir}/etc/rc.d/bitlbee
  67. make DESTDIR=${pkgdir} install
  68. make DESTDIR=${pkgdir} install-etc
  69. make DESTDIR=${pkgdir} install-dev
  70. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement