summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f1d585f2b510128c10b49f37d086f3d3c898dafa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Maintainer: Hyacinthe Cartiaux <hyacinthe.cartiaux@free.fr>
pkgname=psi-qt5-git
pkgver=0.16_dev_20150604
pkgrel=1
pkgdesc="A jabber client. GIT version"
arch=('i686' 'x86_64')
url="http://psi-im.org/"
license=('GPL2')
depends=('qt5-base' 'qca-qt5' 'qt5-x11extras' 'enchant' 'libxss' 'openssl' 'dbus' 'zlib')
makedepends=('git' 'qconf-git')
conflicts=('psi' 'psi-git')
provides=('psi-git')
source=(git+https://github.com/psi-im/psi.git)
md5sums=('SKIP')

pkgver() {
echo  0.16_dev_$(date +"%Y%m%d")
}

build() {
  cd $srcdir/psi

  git submodule init
  git submodule update

  qconf
  export QTDIR=/usr/lib/qt5
  ./configure --prefix=/usr
  qmake-qt5 psi.pro

}

package() {
  cd $srcdir/psi

  make INSTALL_ROOT="$pkgdir" install
}