# Contributions from Arch: # Maintainer: Antonio Rojas pkgname=accounts-qml-module pkgver=0.6 pkgrel=1 pkgdesc="Expose the Online Accounts API to QML applications" url="https://gitlab.com/accounts-sso/accounts-qml-module" arch=(x86_64) license=(LGPL) depends=(signon libaccounts-qt qt5-declarative) makedepends=(qt5-tools) source=("https://gitlab.com/accounts-sso/$pkgname/repository/archive.tar.gz?ref=VERSION_$pkgver") md5sums=('d62f676e837bfa2b8bb5c12507a36ce9') prepare() { mkdir -p build } build() { cd build qmake-qt5 ../$pkgname-*/$pkgname.pro PREFIX=/usr make } package() { cd build make INSTALL_ROOT="$pkgdir" install_subtargets # skip docs }