[arch-commits] Commit in (3 files)

Antonio Rojas arojas at archlinux.org
Fri Mar 13 18:11:28 UTC 2015


    Date: Friday, March 13, 2015 @ 19:11:28
  Author: arojas
Revision: 233581

Add signon-plugin-oauth2 (telepathy-kde 15.04 dependency)

Added:
  signon-plugin-oauth2/
  signon-plugin-oauth2/trunk/
  signon-plugin-oauth2/trunk/PKGBUILD

----------+
 PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

Added: signon-plugin-oauth2/trunk/PKGBUILD
===================================================================
--- signon-plugin-oauth2/trunk/PKGBUILD	                        (rev 0)
+++ signon-plugin-oauth2/trunk/PKGBUILD	2015-03-13 18:11:28 UTC (rev 233581)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=signon-plugin-oauth2
+_pkgname=signon-oauth2
+pkgver=0.20
+pkgrel=1
+pkgdesc='OAuth 2 plugin for signon'
+arch=('i686' 'x86_64')
+url="http://code.google.com/p/accounts-sso/"
+license=('LGPL')
+depends=('signon')
+makedepends=('qt5-xmlpatterns')
+source=("$pkgname-$pkgver.tar.gz::http://signon-plugin-oauth2.accounts-sso.googlecode.com/archive/$pkgver.tar.gz")
+md5sums=('0f33239a661d11b51a0803657983043d')
+
+prepare() {
+  cd signon-plugin-oauth2.accounts-sso-$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.accounts-sso-$pkgver
+
+  qmake-qt5 PREFIX=/usr LIBDIR=/usr/lib
+  make
+}
+
+package() {
+  cd signon-plugin-oauth2.accounts-sso-$pkgver
+
+  make INSTALL_ROOT="$pkgdir" install
+}
+


Property changes on: signon-plugin-oauth2/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list