sbcl rebuild
[arch-packages.git] / signon-ui / trunk / PKGBUILD
bloba68d4f8ba6f8586b365cf3d50d8032d8ff26884a
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>
5 pkgname=signon-ui
6 pkgver=0.17+20171022
7 pkgrel=3
8 _commit=4368bb77d9d1abc2978af514225ba4a42c29a646
9 pkgdesc='UI component responsible for handling the user interactions which can happen during the login process of an online account'
10 arch=(x86_64)
11 url='https://launchpad.net/online-accounts-signon-ui'
12 license=(GPL)
13 depends=(libaccounts-qt qt5-webengine signond libnotify)
14 source=(https://gitlab.com/accounts-sso/signon-ui/-/archive/$_commit/$pkgname-$pkgver.tar.gz
15         fake-user-agent.patch)
16 sha256sums=('4534b05d10e206d332bd91838af3411fdbfc897b604ba5843e7af76c1657f99b'
17             '5eb7782c6472e51a8107a25324d1d30052bac5d8e9050907cd957c89568fa577')
18 options=(debug)
20 prepare() {
21   cd $pkgname-$_commit
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
29 build() {
30   cd $pkgname-$_commit
32   qmake-qt5 PREFIX=/usr LIBDIR=/usr/lib
33   make
36 package() {
37   cd $pkgname-$_commit
39   make INSTALL_ROOT="$pkgdir" install