aboutsummaryrefslogtreecommitdiffstats
path: root/community/qtkeychain/APKBUILD
blob: c9fafac1a46af54f3180919e415a1c4f58c78426 (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
34
35
36
37
38
39
40
41
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer:
pkgname=qtkeychain
pkgver=0.7.0
pkgrel=0
pkgdesc="Qt API to store passwords and other secret data"
url="https://github.com/frankosterfeld/qtkeychain"
arch="all"
license="BSD"
depends=
depends_dev="qt-dev"
makedepends="$depends_dev cmake"
install=
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/frankosterfeld/qtkeychain/archive/v$pkgver.tar.gz"


_builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	cd "$_builddir"
}

build() {
	cd "$_builddir"
	cmake \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DCMAKE_INSTALL_LIBEXECDIR=lib/${pkgname} \
		-DCMAKE_BUILD_TYPE=Release
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install
}

md5sums="3361893bc8fd176cd35116796df40028  qtkeychain-0.7.0.tar.gz"
sha256sums="9f9afaae8e909391d7fc932bac95e38befaac5b2eb49f6623a8efec60a2e6a3a  qtkeychain-0.7.0.tar.gz"
sha512sums="b7e98fa6c7f6a8a5e4d79468366b30c859db4edf08984d685d2cd8d87c5ab60b5f4769b5af96c8d9ca306111e46a63e4d23be7c07d77d6c3492f2e81ae8cd88b  qtkeychain-0.7.0.tar.gz"