db-move: moved linux-zen from [testing] to [extra] (x86_64)
[arch-packages.git] / signon-plugin-oauth2 / trunk / PKGBUILD
blob94767658c166c2af0fe51d745f0ba85702107bf0
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Contributor: Balló György <ballogyor+arch at gmail dot com>
4 pkgname=signon-plugin-oauth2
5 _pkgname=signon-oauth2
6 pkgver=0.25
7 pkgrel=1
8 pkgdesc='OAuth 2 plugin for signon'
9 arch=(x86_64)
10 url='https://gitlab.com/accounts-sso/signon-plugin-oauth2'
11 license=(LGPL)
12 depends=(signond)
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')
17 prepare() {
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
27 build() {
28   cd $pkgname-VERSION_$pkgver
30   qmake-qt5 PREFIX=/usr LIBDIR=/usr/lib
31   make
34 package() {
35   cd $pkgname-VERSION_$pkgver
37   make INSTALL_ROOT="$pkgdir" install