jami-qt-git

PKGBUILD for A free and private communication platform - QT client
git clone git://git.wrycode.com/wrycode/AUR/jami-qt-git.git
Log | Files | Refs

PKGBUILD (970B)


      1 # Maintainer: Nick Econopouly <wry at mm dot st>
      2 pkgname=jami-qt-git
      3 replaces=('jami-client-qt-git')
      4 pkgver=r701.0a7aaa5
      5 pkgrel=1
      6 pkgdesc="A free and private communication platform (QT client)"
      7 arch=('x86_64')
      8 provides=('jami-qt')
      9 url="https://git.jami.net/savoirfairelinux/jami-client-qt"
     10 license=('GPL3')
     11 depends=('jami-daemon-git' 'libjamiclient-git' 'qt5-base' 'libnm' 'qrencode' 'libnotify' 'qt5-quickcontrols2' 'qt5-svg' 'qt5-webengine')
     12 makedepends=('git' )
     13 conflicts=('jami-gnome-git' 'jami-gnome' 'jami-qt')
     14 source=("git+$url.git")
     15 sha512sums=(SKIP)
     16 
     17 pkgver() {
     18     cd $srcdir/jami-client-qt
     19     printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
     20 }
     21 
     22 build() {
     23      cmake -B build -S jami-client-qt \
     24     -DCMAKE_INSTALL_PREFIX=/usr \
     25     -DCMAKE_BUILD_TYPE=None \
     26     -Wno-dev
     27     make -C build -j`nproc` # -j`nproc` uses as many cores as possible to speed up the build
     28 }
     29 
     30 package() {
     31     make -C build DESTDIR="${pkgdir}" install
     32 }