Advertisement
Guest User

Untitled

a guest
Jan 8th, 2018
4,741
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.84 KB | None | 0 0
  1. # Maintainer: Hyacinthe Cartiaux <hyacinthe.cartiaux@free.fr>
  2. pkgname=psi-git
  3. pkgver=1.3_dev_20180108
  4. pkgrel=1
  5. pkgdesc="A jabber client. GIT version"
  6. arch=('i686' 'x86_64')
  7. url="http://psi-im.org/"
  8. license=('GPL2')
  9. depends=('qca-qt5' 'qt5-x11extras' 'qt5-multimedia' 'aspell' 'libxss' 'minizip' 'desktop-file-utils' 'hicolor-icon-theme')
  10. makedepends=('git')
  11. replaces=('psi' 'psi-qt5-git')
  12. conflicts=('psi' 'psi-qt5-git')
  13. source=('git+https://github.com/psi-im/psi.git')
  14. md5sums=('SKIP')
  15.  
  16. pkgver() {
  17. echo  1.3_dev_$(date +"%Y%m%d")
  18. }
  19.  
  20. prepare() {
  21.  
  22.   cd $srcdir/psi
  23.  
  24.   git submodule init
  25.   git submodule update
  26.  
  27. }
  28.  
  29. build() {
  30.  
  31.   cd $srcdir/psi
  32.   mkdir -p build
  33.   cd build
  34.   cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
  35.   make
  36. }
  37.  
  38. package() {
  39.   cd $srcdir/psi/build
  40.  
  41.   make DESTDIR="$pkgdir" install
  42. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement