Date: Friday, October 2, 2015 @ 13:00:18 Author: arojas Revision: 248252
archrelease: copy trunk to testing-i686, testing-x86_64 Added: signon-plugin-oauth2/repos/testing-i686/ signon-plugin-oauth2/repos/testing-i686/PKGBUILD (from rev 248251, signon-plugin-oauth2/trunk/PKGBUILD) signon-plugin-oauth2/repos/testing-x86_64/ signon-plugin-oauth2/repos/testing-x86_64/PKGBUILD (from rev 248251, signon-plugin-oauth2/trunk/PKGBUILD) -------------------------+ testing-i686/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ testing-x86_64/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) Copied: signon-plugin-oauth2/repos/testing-i686/PKGBUILD (from rev 248251, signon-plugin-oauth2/trunk/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2015-10-02 11:00:18 UTC (rev 248252) @@ -0,0 +1,40 @@ +# $Id$ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Balló György <ballogyor+arch at gmail dot com> + +pkgname=signon-plugin-oauth2 +_pkgname=signon-oauth2 +pkgver=0.23 +pkgrel=1 +pkgdesc='OAuth 2 plugin for signon' +arch=(i686 x86_64) +url="https://gitlab.com/accounts-sso/signon-plugin-oauth2" +license=(LGPL) +depends=(signon) +makedepends=(qt5-xmlpatterns) +source=("$pkgname-$pkgver.tar.gz::https://gitlab.com/accounts-sso/signon-plugin-oauth2/repository/archive.tar.gz?ref=VERSION_$pkgver") +md5sums=('772197567b8778552bba34ace41aec7d') + +prepare() { + cd signon-plugin-oauth2-VERSION_$pkgver-* + + sed -i '/-Werror/d' common-project-config.pri + + # Do not install tests and example + echo 'INSTALLS =' >>tests/tests.pro + echo 'INSTALLS =' >>example/example.pro +} + +build() { + cd signon-plugin-oauth2-VERSION_$pkgver-* + + qmake-qt5 PREFIX=/usr LIBDIR=/usr/lib + make +} + +package() { + cd signon-plugin-oauth2-VERSION_$pkgver-* + + make INSTALL_ROOT="$pkgdir" install +} + Copied: signon-plugin-oauth2/repos/testing-x86_64/PKGBUILD (from rev 248251, signon-plugin-oauth2/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2015-10-02 11:00:18 UTC (rev 248252) @@ -0,0 +1,40 @@ +# $Id$ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Balló György <ballogyor+arch at gmail dot com> + +pkgname=signon-plugin-oauth2 +_pkgname=signon-oauth2 +pkgver=0.23 +pkgrel=1 +pkgdesc='OAuth 2 plugin for signon' +arch=(i686 x86_64) +url="https://gitlab.com/accounts-sso/signon-plugin-oauth2" +license=(LGPL) +depends=(signon) +makedepends=(qt5-xmlpatterns) +source=("$pkgname-$pkgver.tar.gz::https://gitlab.com/accounts-sso/signon-plugin-oauth2/repository/archive.tar.gz?ref=VERSION_$pkgver") +md5sums=('772197567b8778552bba34ace41aec7d') + +prepare() { + cd signon-plugin-oauth2-VERSION_$pkgver-* + + sed -i '/-Werror/d' common-project-config.pri + + # Do not install tests and example + echo 'INSTALLS =' >>tests/tests.pro + echo 'INSTALLS =' >>example/example.pro +} + +build() { + cd signon-plugin-oauth2-VERSION_$pkgver-* + + qmake-qt5 PREFIX=/usr LIBDIR=/usr/lib + make +} + +package() { + cd signon-plugin-oauth2-VERSION_$pkgver-* + + make INSTALL_ROOT="$pkgdir" install +} +