blob: 3aaac2a6287a064f2fd843b1d18f4ca1508bbb61 (
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.8.0
pkgrel=0
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="be83ebc665a7916e96a2fd9990c72cd29373196591cf557fa6f9691f332ab67cc5475cab240c3e50e76cb37e0b7f189f0a1f2c3a70a6f655918e1d2465ed2f33 qt5-qtkeychain-0.8.0.tar.gz"
|