aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2017-03-27 12:09:02 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-03-27 12:09:02 +0000
commita2d764bc7b875ef3a7c2caed7d5415f94da82ab4 (patch)
treee4772dfff636ce04f32d3b473e82decc21a26323 /community
parentf994f52d4b3b2575d5cfd1604497bd1e1e46a106 (diff)
downloadaports-a2d764bc7b875ef3a7c2caed7d5415f94da82ab4.tar.bz2
aports-a2d764bc7b875ef3a7c2caed7d5415f94da82ab4.tar.xz
community/qt5-qtkeychain: add maint, modernize APKBUILD
Diffstat (limited to 'community')
-rw-r--r--community/qt5-qtkeychain/APKBUILD25
1 files changed, 6 insertions, 19 deletions
diff --git a/community/qt5-qtkeychain/APKBUILD b/community/qt5-qtkeychain/APKBUILD
index 577b4814e6..02bb9c31dd 100644
--- a/community/qt5-qtkeychain/APKBUILD
+++ b/community/qt5-qtkeychain/APKBUILD
@@ -1,31 +1,22 @@
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
-# Maintainer:
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=qt5-qtkeychain
_realname=qtkeychain
pkgver=0.7.0
-pkgrel=0
+pkgrel=1
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
-}
+options="!check"
+builddir="$srcdir"/$_realname-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
@@ -35,12 +26,8 @@ build() {
}
package() {
- cd "$_builddir"
+ 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
}
sha512sums="b7e98fa6c7f6a8a5e4d79468366b30c859db4edf08984d685d2cd8d87c5ab60b5f4769b5af96c8d9ca306111e46a63e4d23be7c07d77d6c3492f2e81ae8cd88b qt5-qtkeychain-0.7.0.tar.gz"