diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2015-05-15 09:15:51 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2015-05-15 09:15:51 +0000 |
commit | cad7f9f0921730e257ecb0f0949cee0e49fa2fb2 (patch) | |
tree | e2d3c879963a0c3fefb7723b9ac41ea4054516c4 | |
parent | 9b68c74f24c0bc5d9a4a18bf1e2b5f803c62db8e (diff) | |
download | aports-cad7f9f0921730e257ecb0f0949cee0e49fa2fb2.tar.bz2 aports-cad7f9f0921730e257ecb0f0949cee0e49fa2fb2.tar.xz |
testing/qtkeychain: new aport
Qt API to store passwords and other secret data securely
-rw-r--r-- | testing/qtkeychain/APKBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/testing/qtkeychain/APKBUILD b/testing/qtkeychain/APKBUILD new file mode 100644 index 0000000000..ff383627f4 --- /dev/null +++ b/testing/qtkeychain/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: Leonardo Arena <rnalrd@alpinelinux.org> +# Maintainer: +pkgname=qtkeychain +pkgver=0.5.0 +pkgrel=0 +pkgdesc="Qt API to store passwords and other secret data" +url="https://github.com/frankosterfeld/qtkeychain" +arch="all" +license="Custom" +depends= +depends_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" + # apply patches here +} + +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 + + # remove the 2 lines below (and this) if there is no init.d script + # install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname + # install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname +} + +md5sums="ed813a5db320883c2cf34db16a72b2a1 qtkeychain-0.5.0.tar.gz" +sha256sums="e62d7ae9c8ae04784d8a5d0f213aaa22f1c02427e800ce88739e997f499bb514 qtkeychain-0.5.0.tar.gz" +sha512sums="abc9d27b318a984c95b55f821f8bba7d8f34e6316958cf41b44aa4451371e5f629f17b9a0d1356cd6455f19979d562157a260f835c8f037037b0ac7bf64b94e5 qtkeychain-0.5.0.tar.gz" |