summaryrefslogtreecommitdiff
path: root/community/libaccounts-qt
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/libaccounts-qt
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/libaccounts-qt')
-rw-r--r--community/libaccounts-qt/PKGBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/community/libaccounts-qt/PKGBUILD b/community/libaccounts-qt/PKGBUILD
new file mode 100644
index 000000000..2d2960ddc
--- /dev/null
+++ b/community/libaccounts-qt/PKGBUILD
@@ -0,0 +1,44 @@
+# $Id: PKGBUILD 93073 2013-06-23 22:18:28Z bgyorgy $
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgbase=libaccounts-qt
+_pkgbase=accounts-qt
+pkgname=('libaccounts-qt' 'libaccounts-qt-doc')
+pkgver=1.8
+pkgrel=1
+pkgdesc="Qt-based client library for accessing the online accounts database"
+arch=('i686' 'x86_64')
+url="http://code.google.com/p/accounts-sso/"
+license=('LGPL')
+depends=('qt4' 'libaccounts-glib')
+makedepends=('doxygen' 'graphviz' 'ttf-dejavu')
+options=('!emptydirs')
+source=(http://accounts-sso.googlecode.com/files/$_pkgbase-$pkgver.tar.bz2)
+sha1sums=('f5a29ef1d1e66049bbe5d809d6dbfcf0c1a39b41')
+
+build() {
+ cd "$srcdir/$_pkgbase-$pkgver"
+
+ # Do not install tests
+ echo 'INSTALLS =' >>tests/accountstest.pro
+
+ qmake-qt4 PREFIX=/usr LIBDIR=/usr/lib
+ make
+}
+
+package_libaccounts-qt() {
+ cd "$srcdir/$_pkgbase-$pkgver"
+
+ make INSTALL_ROOT="$pkgdir" install
+
+ # Split out documentation
+ mv "$pkgdir/usr/share/doc" "$srcdir"
+}
+
+package_libaccounts-qt-doc() {
+ pkgdesc="Developer documention of signon"
+ depends=()
+
+ mkdir -p "$pkgdir/usr/share"
+ mv "$srcdir/doc" "$pkgdir/usr/share"
+}