aboutsummaryrefslogtreecommitdiffstats
path: root/testing/qt5-qtkeychain
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-26 11:10:07 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-26 11:10:07 +0200
commita39e19f96447a409ae6f6c1c63d3c16feb1a3991 (patch)
tree148fdebc95bfd8788f91996703d2094c1b8df4da /testing/qt5-qtkeychain
parentc5240dc4d2a5efc26b94c943d87848e51ba2794b (diff)
downloadaports-a39e19f96447a409ae6f6c1c63d3c16feb1a3991.tar.bz2
aports-a39e19f96447a409ae6f6c1c63d3c16feb1a3991.tar.xz
unmaintained/[multiple] move back packages to testing
move back packages that are depends of other packages in testing
Diffstat (limited to 'testing/qt5-qtkeychain')
-rw-r--r--testing/qt5-qtkeychain/APKBUILD48
1 files changed, 48 insertions, 0 deletions
diff --git a/testing/qt5-qtkeychain/APKBUILD b/testing/qt5-qtkeychain/APKBUILD
new file mode 100644
index 0000000000..1c93dbf85c
--- /dev/null
+++ b/testing/qt5-qtkeychain/APKBUILD
@@ -0,0 +1,48 @@
+# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
+# Maintainer:
+pkgname=qt5-qtkeychain
+_realname=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="BSD"
+depends=
+depends_dev=
+makedepends="$depends_dev cmake qt5-qttools-dev"
+install=
+subpackages="$pkgname-dev"
+replaces="qtkeychain"
+source="$pkgname-$pkgver.tar.gz::https://github.com/frankosterfeld/qtkeychain/archive/v$pkgver.tar.gz"
+
+
+_builddir="$srcdir"/$_realname-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ # apply patches here
+}
+
+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
+
+ # 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 qt5-qtkeychain-0.5.0.tar.gz"
+sha256sums="e62d7ae9c8ae04784d8a5d0f213aaa22f1c02427e800ce88739e997f499bb514 qt5-qtkeychain-0.5.0.tar.gz"
+sha512sums="abc9d27b318a984c95b55f821f8bba7d8f34e6316958cf41b44aa4451371e5f629f17b9a0d1356cd6455f19979d562157a260f835c8f037037b0ac7bf64b94e5 qt5-qtkeychain-0.5.0.tar.gz"