desktop/signon/PKGBUILD

39 lines
994 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
2016-11-25 21:35:33 +08:00
_pkgname=signond
pkgver=8.59
pkgrel=1
2015-04-08 01:46:06 +08:00
arch=('x86_64')
2016-11-25 21:35:33 +08:00
url="https://gitlab.com/accounts-sso/signond/"
2015-04-08 01:46:06 +08:00
license=('LGPL')
depends=('qt5-base' 'libproxy')
2016-11-25 21:35:33 +08:00
makedepends=('qt5-tools' 'doxygen' 'graphviz')
pkgdesc="Qt Framework to provide credential storage and authentication service"
2015-04-08 01:46:06 +08:00
options=('!emptydirs')
2016-11-25 21:35:33 +08:00
source=("https://gitlab.com/accounts-sso/signond/repository/archive.tar.bz2?ref=VERSION_$pkgver"
2015-04-08 01:46:06 +08:00
'use_keyring.patch')
2016-11-25 21:35:33 +08:00
sha1sums=('e627143950b186ea2851383cad08d401b66282e2'
2015-04-16 06:51:44 +08:00
'7f179d9260b3a67ccc8635c5bc5e50e282507896')
2015-04-08 01:46:06 +08:00
prepare() {
2016-11-25 21:35:33 +08:00
cd $_pkgname-*
# Use kwallet-keyring secrets storage if signon-keyring-extension is available
2015-04-08 01:46:06 +08:00
patch -Np1 -i "$srcdir/use_keyring.patch"
}
build() {
2016-11-25 21:35:33 +08:00
cd $_pkgname-*
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() {
2016-11-25 21:35:33 +08:00
cd $_pkgname-*
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
}