# $Id: PKGBUILD 81732 2012-12-27 21:40:51Z bgyorgy $ # Maintainer: Balló György pkgname=signon-plugin-oauth2 _pkgname=signon-oauth2 pkgver=0.14 pkgrel=1 pkgdesc="OAuth 2 plugin for signon" arch=('i686' 'x86_64' 'mips64el') 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=('348c59af181c28ab3ac7b5fc76cd6758fc6b63e6') build() { cd "$srcdir/$_pkgname-$pkgver" # Do not install tests and example echo 'INSTALLS =' >>tests/tests.pro echo 'INSTALLS =' >>example/example.pro qmake PREFIX=/usr LIBDIR=/usr/lib make } package() { cd "$srcdir/$_pkgname-$pkgver" make INSTALL_ROOT="$pkgdir" install }