1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Contributor: Balló György <ballogyor+arch at gmail dot com>
4 pkgname=signon-plugin-oauth2
8 pkgdesc='OAuth 2 plugin for signon'
10 url='https://gitlab.com/accounts-sso/signon-plugin-oauth2'
13 makedepends=(qt5-xmlpatterns)
14 source=(https://gitlab.com/accounts-sso/signon-plugin-oauth2/-/archive/VERSION_$pkgver/signon-plugin-oauth2-VERSION_$pkgver.tar.bz2)
15 sha256sums=('04ce8d84f2beb29ca86399794519c2d0bbecf7c428fd9e6c01d7f3614a9ba98e')
18 cd $pkgname-VERSION_$pkgver
20 sed -i '/-Werror/d' common-project-config.pri
22 # Do not install tests and example
23 echo 'INSTALLS =' >>tests/tests.pro
24 echo 'INSTALLS =' >>example/example.pro
28 cd $pkgname-VERSION_$pkgver
30 qmake-qt5 PREFIX=/usr LIBDIR=/usr/lib
35 cd $pkgname-VERSION_$pkgver
37 make INSTALL_ROOT="$pkgdir" install