diff options
Diffstat (limited to 'community/signon-plugin-oauth2/PKGBUILD')
-rw-r--r-- | community/signon-plugin-oauth2/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/community/signon-plugin-oauth2/PKGBUILD b/community/signon-plugin-oauth2/PKGBUILD new file mode 100644 index 000000000..f74d2b649 --- /dev/null +++ b/community/signon-plugin-oauth2/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 93075 2013-06-23 22:20:48Z bgyorgy $ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> + +pkgname=signon-plugin-oauth2 +_pkgname=signon-oauth2 +pkgver=0.18 +pkgrel=1 +pkgdesc="OAuth 2 plugin for signon" +arch=('i686' 'x86_64') +url="http://code.google.com/p/accounts-sso/" +license=('LGPL') +depends=('signon-ui' 'qjson') +makedepends=('signon') +source=(http://accounts-sso.googlecode.com/files/$_pkgname-$pkgver.tar.bz2) +sha1sums=('4b7aabd69a67814b19447215b6466a93523d5dce') + +build() { + cd "$srcdir/$_pkgname-$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 + + qmake-qt4 PREFIX=/usr LIBDIR=/usr/lib + make +} + +package() { + cd "$srcdir/$_pkgname-$pkgver" + + make INSTALL_ROOT="$pkgdir" install +} |