1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Maintainer: Josip Ponjavic <josipponjavic at gmail dot com>
3 # Contributor: Balló György <ballogyor+arch at gmail dot com>
8 _commit=4368bb77d9d1abc2978af514225ba4a42c29a646
9 pkgdesc='UI component responsible for handling the user interactions which can happen during the login process of an online account'
11 url="https://launchpad.net/online-accounts-signon-ui"
13 depends=(libaccounts-qt qt5-webengine signond libnotify)
14 source=($pkgname-$pkgver.tar.gz::"https://gitlab.com/accounts-sso/signon-ui/repository/archive.tar.gz?ref=$_commit"
15 fake-user-agent.patch)
16 sha256sums=('58aa8f7a16e56d20c47471f08ae63ac8dce6a3c8cda8274dfdc233041d541145'
17 '5eb7782c6472e51a8107a25324d1d30052bac5d8e9050907cd957c89568fa577')
20 mv signon-ui-$_commit-$_commit $pkgname-$pkgver
23 # Do not install tests
24 sed -e 's|src \\|src|' -e '/tests/d' -i signon-ui.pro
25 # Fake user ID to bypass Google blacklist
26 patch -p1 -i ../fake-user-agent.patch
32 qmake-qt5 PREFIX=/usr LIBDIR=/usr/lib
39 make INSTALL_ROOT="$pkgdir" install