blob: 02bb9c31dde72a2c7d0369b763d66b132fad5e32 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=qt5-qtkeychain
_realname=qtkeychain
pkgver=0.7.0
pkgrel=1
pkgdesc="Qt API to store passwords and other secret data"
url="https://github.com/frankosterfeld/qtkeychain"
arch="all"
license="BSD"
makedepends="$depends_dev cmake qt5-qttools-dev"
subpackages="$pkgname-dev"
replaces="qtkeychain"
source="$pkgname-$pkgver.tar.gz::https://github.com/frankosterfeld/qtkeychain/archive/v$pkgver.tar.gz"
options="!check"
builddir="$srcdir"/$_realname-$pkgver
build() {
cd "$builddir"
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_LIBEXECDIR=lib/${_realname} \
-DCMAKE_BUILD_TYPE=Release
make || return 1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="b7e98fa6c7f6a8a5e4d79468366b30c859db4edf08984d685d2cd8d87c5ab60b5f4769b5af96c8d9ca306111e46a63e4d23be7c07d77d6c3492f2e81ae8cd88b qt5-qtkeychain-0.7.0.tar.gz"
|