# $Id: PKGBUILD 101247 2013-11-20 14:03:11Z fyan $ # Maintainer: Felix Yan # Contributor: Albert.Zhou pkgname=wiznote pkgver=2.0.64 pkgrel=1 pkgdesc="Opensource cross-platform cloud based note-taking client" arch=('i686' 'x86_64') url="http://www.wiznote.com" license=('GPL3' 'custom') depends=('desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils' 'qt5-base' 'qt5-webkit') # indirect: qt5-declarative qt5-sensors zlib glic gcc-libs makedepends=('cmake' 'qt5-tools' 'git') install=wiznote.install _wiznote_project_name="WizQTClient" source=("git+https://github.com/WizTeam/${_wiznote_project_name}.git#tag=v$pkgver") md5sums=('SKIP') build() { cd $_wiznote_project_name cmake -DWIZNOTE_USE_QT5=YES -DCMAKE_INSTALL_PREFIX=/usr/ . make } package() { cd $_wiznote_project_name make DESTDIR="$pkgdir/" install }