# Maintainer: Luca Weiss pkgname=gsettings-qt pkgver=0_git20180418 _commit="c8ecb2bf269f4ed0a4477bad262751d77ae6bb72" pkgrel=0 pkgdesc="Library to access GSettings from Qt" url="https://github.com/ubports/gsettings-qt" arch="x86_64" license="LGPL-3.0" depends="" depends_dev="qt5-qtdeclarative-dev" makedepends="$depends_dev qt5-qtbase-dev" subpackages="$pkgname-dev" source="$pkgname-$_commit.tar.gz::https://github.com/ubports/$pkgname/archive/$_commit.tar.gz fix_install.patch" builddir="$srcdir/$pkgname-$_commit" options="!check" # Requires running X11 server build() { cd "$builddir" qmake-qt5 make -j1 # See https://github.com/ubports/gsettings-qt/issues/2 } check() { cd "$builddir" make check } package() { cd "$builddir" make INSTALL_ROOT="$pkgdir" install } sha512sums="696e10212369f02a811b7b56f2a2b496383dcd6d008f83b6f71da4d70fa3f26cfafe35ce4689eacd6d15d4cdd0ba3d632b33de045022f74e6f7b828062011b35 gsettings-qt-c8ecb2bf269f4ed0a4477bad262751d77ae6bb72.tar.gz de1dd50997868c67742a23909b3682068e7262991df6f0e27dfd0f2774de26dc07f524f1a0fe335b93ee8044b78ee42e9af8d9a38c03f9cf073e361f6f6c2b08 fix_install.patch"