summaryrefslogtreecommitdiff
path: root/community/signon/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/signon/PKGBUILD
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/signon/PKGBUILD')
-rw-r--r--community/signon/PKGBUILD52
1 files changed, 52 insertions, 0 deletions
diff --git a/community/signon/PKGBUILD b/community/signon/PKGBUILD
new file mode 100644
index 000000000..e6c081be6
--- /dev/null
+++ b/community/signon/PKGBUILD
@@ -0,0 +1,52 @@
+# $Id: PKGBUILD 92690 2013-06-12 05:04:06Z bgyorgy $
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgbase=signon
+pkgname=('signon' 'signon-doc')
+pkgver=8.52
+pkgrel=1
+pkgdesc="Framework to provide credential storage and authentication service"
+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)
+sha1sums=('cebedffb219ee1d28d9dde0cafb8f978acf34d95'
+ 'cfdd48b494ad267654ceba23f1b81bcb8f56b9a1')
+
+build() {
+ cd "$srcdir/$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
+
+ qmake-qt4 PREFIX=/usr LIBDIR=/usr/lib
+ make
+}
+
+package_signon() {
+ cd "$srcdir/$pkgbase-$pkgver"
+
+ make INSTALL_ROOT="$pkgdir" install
+
+ # Split out documentation
+ mv "$pkgdir/usr/share/doc" "$srcdir"
+}
+
+package_signon-doc() {
+ pkgdesc="Developer documention of signon"
+ depends=()
+ options=('!emptydirs')
+ backup=()
+ install=
+
+ mkdir -p "$pkgdir/usr/share"
+ mv "$srcdir/doc" "$pkgdir/usr/share"
+}