# Tanım: Psi qt tabanlı xmpp mesajlaşma aracı
# URL: http://psi-im.org/
# Paketçi: milisarge
# Gerekler: qca-qt5 qt5
# Grup: ağ

isim=psi
surum=1.0
devir=1
kaynak=(https://sourceforge.net/projects/psi/files/Psi/1.0/$isim-$surum.tar.xz)

derle() {
  cd psi-$surum
   ./configure --prefix=/usr  \
   --libdir=/usr/lib \
   --enable-whiteboarding \
   --qtselect=5
  sed -e 's|/usr/X11R6/include|/usr/include/X11|g' -i Makefile
  make
  make INSTALL_ROOT=$PKG install
  install -D -m 0644 $PKG/usr/share/icons/hicolor/48x48/apps/psi.png $PKG/usr/share/pixmaps/psi.png
  rm -rf $(find $PKG -type f -name 'COPYING') $(find $PKG -type f -name 'README')
}
