desktop/signon/PKGBUILD

38 lines
960 B
Bash
Raw Normal View History

# Contributions from Arch: https://www.archlinux.org/packages/extra/x86_64/signon/
2015-04-08 01:46:06 +08:00
pkgname=signon
2015-04-08 01:46:06 +08:00
pkgver=8.57
2015-04-08 06:58:50 +08:00
pkgrel=4
2015-04-08 01:46:06 +08:00
arch=('x86_64')
url="http://code.google.com/p/accounts-sso/"
license=('LGPL')
depends=('qt5-base' 'libproxy')
2015-04-08 06:58:50 +08:00
makedepends=('qt5-tools' 'doxygen')
pkgdesc="Qt Framework to provide credential storage and authentication service"
2015-04-08 01:46:06 +08:00
options=('!emptydirs')
source=("http://rsync.chakraos.org/sources/${pkgname}/$pkgname-$pkgver.tar.bz2"
2015-04-08 01:46:06 +08:00
'use_keyring.patch')
sha1sums=('c9fa0567b68db434a7a954dcb303adf7aad1578b'
'cfdd48b494ad267654ceba23f1b81bcb8f56b9a1')
prepare() {
cd $pkgname-$pkgver
2015-04-08 01:46:06 +08:00
# Use gnome-keyring secrets storage if signon-keyring-extension is available
patch -Np1 -i "$srcdir/use_keyring.patch"
}
build() {
cd $pkgname-$pkgver
qmake-qt5 PREFIX=/usr LIBDIR=/usr/lib
2015-04-08 01:46:06 +08:00
make
}
2015-04-08 06:58:50 +08:00
package() {
cd $pkgname-$pkgver
2015-04-08 01:46:06 +08:00
make INSTALL_ROOT="$pkgdir" install
# Do not ship docs
2015-04-08 06:58:50 +08:00
rm -rf "${pkgdir}/usr/share/doc"
2015-04-08 01:46:06 +08:00
}