diff options
author | Hyacinthe Cartiaux | 2018-01-09 14:06:16 +0100 |
---|---|---|
committer | Hyacinthe Cartiaux | 2018-01-09 14:06:16 +0100 |
commit | 925a0808a71e3c9733265e2f694b5470690dabf2 (patch) | |
tree | 20a82703cfe79396fc9eaa859e3cb7ca5098b851 | |
parent | ba68e6c8adc5e14e7ef8f6214838734843b4f8f4 (diff) | |
download | aur-925a0808a71e3c9733265e2f694b5470690dabf2.tar.gz |
Switch to cmake
-rw-r--r-- | PKGBUILD | 19 |
1 files changed, 8 insertions, 11 deletions
@@ -1,13 +1,13 @@ # Maintainer: Hyacinthe Cartiaux <hyacinthe.cartiaux@free.fr> pkgname=psi-git -pkgver=1.3_dev_20171004 +pkgver=1.3_dev_20180109 pkgrel=1 pkgdesc="A jabber client. GIT version" arch=('i686' 'x86_64') url="http://psi-im.org/" license=('GPL2') depends=('qca-qt5' 'qt5-x11extras' 'qt5-multimedia' 'aspell' 'libxss' 'minizip' 'desktop-file-utils' 'hicolor-icon-theme') -makedepends=('git' 'qconf-git') +makedepends=('git') replaces=('psi' 'psi-qt5-git') conflicts=('psi' 'psi-qt5-git') source=('git+https://github.com/psi-im/psi.git') @@ -29,19 +29,16 @@ prepare() { build() { cd $srcdir/psi - - qconf - - ./configure --prefix=/usr \ - --libdir=/usr/lib \ - --disable-enchant \ - --qtselect=5 + mkdir -p build + cd build + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .. make + } package() { - cd $srcdir/psi + cd $srcdir/psi/build - make INSTALL_ROOT="$pkgdir" install + make DESTDIR="$pkgdir" install } |