diff options
Diffstat (limited to 'extra/libaccounts-qt/PKGBUILD')
-rw-r--r-- | extra/libaccounts-qt/PKGBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/extra/libaccounts-qt/PKGBUILD b/extra/libaccounts-qt/PKGBUILD new file mode 100644 index 000000000..231fdbddc --- /dev/null +++ b/extra/libaccounts-qt/PKGBUILD @@ -0,0 +1,44 @@ +# $Id: PKGBUILD 197627 2013-10-27 14:38:36Z andrea $ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> + +pkgbase=libaccounts-qt +_pkgbase=accounts-qt +pkgname=('libaccounts-qt' 'libaccounts-qt-doc') +pkgver=1.9 +pkgrel=1 +pkgdesc="Qt-based client library for accessing the online accounts database" +arch=('i686' 'x86_64' 'mips64el') +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=('86d7bbaa7bdd18f80a28c2617653707d763d1984') + +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" +} |