diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2015-06-03 21:19:04 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2015-06-03 21:19:04 +0200 |
commit | 5bf3c3c82e7c63d35ee1fe9b9bde05a6b72949b9 (patch) | |
tree | 624b9f07d1f8ac0ff9aa5c7cc7a0d09bc30bb70c /main/qtkeychain | |
parent | 5c5892533be953da59b04e6206b2c602f8e706d7 (diff) | |
download | aports-5bf3c3c82e7c63d35ee1fe9b9bde05a6b72949b9.tar.bz2 aports-5bf3c3c82e7c63d35ee1fe9b9bde05a6b72949b9.tar.xz |
testing/qtkeychain: move to main
Diffstat (limited to 'main/qtkeychain')
-rw-r--r-- | main/qtkeychain/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/main/qtkeychain/APKBUILD b/main/qtkeychain/APKBUILD new file mode 100644 index 0000000000..44c059fb80 --- /dev/null +++ b/main/qtkeychain/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Leonardo Arena <rnalrd@alpinelinux.org> +# Maintainer: +pkgname=qtkeychain +pkgver=0.5.0 +pkgrel=2 +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="ed813a5db320883c2cf34db16a72b2a1 qtkeychain-0.5.0.tar.gz" +sha256sums="e62d7ae9c8ae04784d8a5d0f213aaa22f1c02427e800ce88739e997f499bb514 qtkeychain-0.5.0.tar.gz" +sha512sums="abc9d27b318a984c95b55f821f8bba7d8f34e6316958cf41b44aa4451371e5f629f17b9a0d1356cd6455f19979d562157a260f835c8f037037b0ac7bf64b94e5 qtkeychain-0.5.0.tar.gz" |