2017-09-10 04:20:41 +08:00
|
|
|
pkgname=qtkeychain
|
2017-09-07 17:35:33 +08:00
|
|
|
pkgver=0.8.0
|
2016-04-03 21:38:27 +08:00
|
|
|
pkgrel=1
|
2014-01-02 03:50:21 +08:00
|
|
|
pkgdesc="Provides support for secure credentials storage."
|
|
|
|
arch=('x86_64')
|
|
|
|
url="https://github.com/frankosterfeld/qtkeychain"
|
|
|
|
license=('BSD')
|
2017-09-10 04:20:41 +08:00
|
|
|
depends=('qt5-base')
|
|
|
|
makedepends=('cmake' 'icu' 'qt5-tools' 'extra-cmake-modules')
|
|
|
|
provides=("$pkgname-qt"{4,5})
|
|
|
|
replaces=("$pkgname-qt"{4,5})
|
|
|
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/frankosterfeld/$pkgname/archive/v${pkgver}.tar.gz")
|
2017-09-07 17:35:33 +08:00
|
|
|
sha1sums=('d6ff0726245ee24e249e76ee9025b473239dd637')
|
2014-01-02 03:50:21 +08:00
|
|
|
|
|
|
|
prepare() {
|
2017-09-10 04:20:41 +08:00
|
|
|
mkdir -p build
|
2014-01-02 03:50:21 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2017-09-10 04:20:41 +08:00
|
|
|
cd $srcdir/build
|
2015-09-02 20:54:18 +08:00
|
|
|
cmake ../$pkgbase-$pkgver \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
2017-09-10 04:20:41 +08:00
|
|
|
-DCMAKE_INSTALL_LIBEXECDIR=lib/${pkgname} \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DLIBSECRET_SUPPORT=OFF
|
2014-01-02 03:50:21 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
2017-09-10 04:20:41 +08:00
|
|
|
package() {
|
|
|
|
cd $srcdir/build
|
2015-09-02 20:54:18 +08:00
|
|
|
make DESTDIR="$pkgdir" install
|
2017-09-10 04:20:41 +08:00
|
|
|
install -Dm644 "$srcdir"/$pkgname-$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
2014-01-02 03:50:21 +08:00
|
|
|
}
|