summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d4ecdd77cf5e24cb0478030211f94cb00167115e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Maintainer: edward-p <micro dot fedora at gmail dot com>

pkgname=signon-ui-webengine
pkgver=0.17
pkgrel=0
pkgdesc='"webengine" branch of signon-ui for issue #1'
arch=('x86_64')
url="https://launchpad.net/online-accounts-signon-ui"
license=('GPL')
conflicts=(signon-ui)
depends=('libaccounts-qt' 'qt5-webkit' 'signon' 'libnotify')
provides=('signon-ui')
source=(git+https://gitlab.com/accounts-sso/signon-ui.git)
md5sums=('SKIP')

prepare() {
  cd $srcdir/signon-ui
  git checkout -b webengine origin/webengine
  # Do not install tests
  echo 'INSTALLS =' >>tests/unit/tst_inactivity_timer.pro
  echo 'INSTALLS =' >>tests/unit/tst_signon_ui.pro
}

build() {
  cd $srcdir/signon-ui

  qmake PREFIX=/usr LIBDIR=/usr/lib
  make
}

package() {
  cd $srcdir/signon-ui

  make INSTALL_ROOT="$pkgdir" install
}

# vim:set ts=2 sw=2 et: