diff options
author | root <root@rshg054.dnsready.net> | 2012-11-06 02:13:31 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-11-06 02:13:31 -0800 |
commit | 85e0e667660650d70269432a90401d4288776d9d (patch) | |
tree | 7d6e665bf13e57be14c60b14512dd322c97874e8 /community/libaccounts-qt | |
parent | c973e7aa43bb6c3bb4e25503eea40ddee63fcefd (diff) |
Tue Nov 6 02:09:19 PST 2012
Diffstat (limited to 'community/libaccounts-qt')
-rw-r--r-- | community/libaccounts-qt/PKGBUILD | 44 |
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..863f1726e --- /dev/null +++ b/community/libaccounts-qt/PKGBUILD @@ -0,0 +1,44 @@ +# $Id: PKGBUILD 79488 2012-11-06 04:11:10Z 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.2 +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=('qt' 'libaccounts-glib') +makedepends=('doxygen' 'graphviz' 'ttf-dejavu') +source=(http://accounts-sso.googlecode.com/files/$_pkgbase-$pkgver.tar.bz2) +sha1sums=('5824847558ffea57cafbeb7963595dd80366ad82') + +build() { + cd "$srcdir/$_pkgbase-$pkgver" + + # Do not install tests + echo 'INSTALLS =' >>tests/accountstest.pro + + qmake 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=() + options=('!emptydirs') + + mkdir -p "$pkgdir/usr/share" + mv "$srcdir/doc" "$pkgdir/usr/share" +} |