mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
community/qt5-qtkeychain: add maint, modernize APKBUILD
This commit is contained in:
parent
f994f52d4b
commit
a2d764bc7b
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user