diff options
Diffstat (limited to 'community/signon/PKGBUILD')
-rw-r--r-- | community/signon/PKGBUILD | 39 |
1 files changed, 20 insertions, 19 deletions
diff --git a/community/signon/PKGBUILD b/community/signon/PKGBUILD index 36a28fbe6..da1eb29dc 100644 --- a/community/signon/PKGBUILD +++ b/community/signon/PKGBUILD @@ -1,39 +1,44 @@ -# $Id: PKGBUILD 96925 2013-09-08 17:54:00Z bgyorgy $ -# Maintainer: Balló György <ballogyor+arch at gmail dot com> +# $Id: PKGBUILD 98928 2013-10-21 12:34:16Z andrea $ +#Maintainer: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Balló György <ballogyor+arch at gmail dot com> pkgbase=signon pkgname=('signon' 'signon-doc') pkgver=8.54 -pkgrel=1 -pkgdesc="Framework to provide credential storage and authentication service" +pkgrel=2 arch=('i686' 'x86_64') url="http://code.google.com/p/accounts-sso/" license=('LGPL') -depends=('qt4' 'libproxy') -makedepends=('doxygen' 'graphviz' 'ttf-dejavu') -backup=(etc/signond.conf) -install=$pkgname.install -source=(http://accounts-sso.googlecode.com/files/$pkgbase-$pkgver.tar.bz2 - use_keyring.patch) +makedepends=('qt4' 'libproxy' 'doxygen' 'graphviz' 'ttf-font') +options=('!emptydirs') +source=("http://accounts-sso.googlecode.com/files/$pkgbase-$pkgver.tar.bz2" + 'use_keyring.patch') sha1sums=('a29a12d6fe3747930e94932f6e1b1339b471d108' 'cfdd48b494ad267654ceba23f1b81bcb8f56b9a1') -build() { - cd "$srcdir/$pkgbase-$pkgver" - +prepare() { + cd $pkgbase-$pkgver + # Use gnome-keyring secrets storage if signon-keyring-extension is available patch -Np1 -i "$srcdir/use_keyring.patch" - + # qt4 fix sed -i 's/qdbusxml2cpp/qdbusxml2cpp-qt4/' src/signond/signond.pro +} +build() { + cd $pkgbase-$pkgver qmake-qt4 PREFIX=/usr LIBDIR=/usr/lib make } package_signon() { - cd "$srcdir/$pkgbase-$pkgver" + pkgdesc="Framework to provide credential storage and authentication service" + depends=('qt4' 'libproxy') + backup=('etc/signond.conf') + install=$pkgname.install + cd $pkgbase-$pkgver make INSTALL_ROOT="$pkgdir" install # Split out documentation @@ -42,10 +47,6 @@ package_signon() { package_signon-doc() { pkgdesc="Developer documention of signon" - depends=() - options=('!emptydirs') - backup=() - install= mkdir -p "$pkgdir/usr/share" mv "$srcdir/doc" "$pkgdir/usr/share" |