Advertisement
Guest User

Untitled

a guest
Apr 7th, 2012
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.39 KB | None | 0 0
  1. pkgbase=psi-plus
  2. pkgname=('psi-plus'
  3.          'psi-plus-plugins')
  4. pkgver=0.15.5317
  5. pkgrel=1
  6. url="http://psi-plus.com"
  7. license=('GPL2')
  8. arch=('i686' 'x86_64')
  9. makedepends=('qconf')
  10. # https://github.com/tehnick/psi-plus/tags
  11. source=("https://nodeload.github.com/tehnick/psi-plus/tarball/$pkgver")
  12. md5sums=('a58295b03f25e443e8bb94a83de21d59')
  13.  
  14. build() {
  15.   cd $srcdir/tehnick*
  16.   psisrcdir=`pwd`
  17.  
  18.   qconf
  19.   ./configure --prefix=/usr \
  20.               --disable-bundled-qca \
  21.               --disable-growl \
  22.               --enable-webkit \
  23.               --enable-plugins \
  24.               --enable-whiteboarding
  25.   make
  26.  
  27.   for plugin in $psisrcdir/src/plugins/generic/*plugin
  28.   do
  29.     cd $plugin
  30.     qmake
  31.     make
  32.   done
  33. }
  34.  
  35. package_psi-plus() {
  36.   pkgdesc='Psi+ is a powerful Jabber client (Qt, C++) designed for the Jabber power users'
  37.   depends=('qt' 'qca-ossl' 'qca-gnupg' 'aspell' 'libxss' 'openssl' 'dbus' 'zlib')
  38.   conflicts=('psi' 'psi-plus-git')
  39.   provides=('psi' 'psi-plus-git')
  40.  
  41.   cd $srcdir/tehnick*
  42.   make INSTALL_ROOT="$pkgdir" install
  43. }
  44.  
  45. package_psi-plus-plugins() {
  46.   pkgdesc='Plugins for Psi+'
  47.   depends=('psi-plus' 'tidyhtml')
  48.  
  49.   cd $srcdir/tehnick*
  50.   psisrcdir=`pwd`
  51.  
  52.   mkdir -p $pkgdir/usr/lib/psi-plus/plugins
  53.  
  54.   for plugin in $psisrcdir/src/plugins/generic/*plugin
  55.   do
  56.     cp -f $plugin/lib*plugin.so $pkgdir/usr/lib/psi-plus/plugins/
  57.   done
  58. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement