1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Contributor: Andrea Scarpino <andrea@archlinux.org>
3 # Contributor: Balló György <ballogyor+arch at gmail dot com>
6 pkgdesc='Qt-based client library for accessing the online accounts database'
10 url='https://gitlab.com/accounts-sso/libaccounts-qt'
12 depends=(libaccounts-glib qt5-base)
14 conflicts=(libaccounts-qt5)
15 provides=(libaccounts-qt5)
16 replaces=(libaccounts-qt5)
17 source=(https://gitlab.com/accounts-sso/libaccounts-qt/-/archive/VERSION_$pkgver/libaccounts-qt-VERSION_$pkgver.tar.gz)
18 sha256sums=('3e527b151ee87e851b0f027214bda1353d8e48e10a5b54109f1e4b7d422a7de3')
21 cd $pkgname-VERSION_$pkgver
22 sed -i 's|SUBDIRS += Accounts tests|SUBDIRS += Accounts|' accounts-qt.pro
26 cd $pkgname-VERSION_$pkgver
27 qmake PREFIX=/usr LIBDIR=/usr/lib
32 cd $pkgname-VERSION_$pkgver
33 make INSTALL_ROOT="$pkgdir" install
36 rm -r "$pkgdir"/usr/share