diff options
author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2018-03-19 22:17:34 +0000 |
---|---|---|
committer | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2018-03-19 22:17:34 +0000 |
commit | 81059cff012040daba88ae766539280b40abb81d (patch) | |
tree | 8fb5bb466d9de0927e204ddfbae1a3b6c378ae90 /community/qtkeychain | |
parent | 18848a5b72f52310c835f9dfa243fe1478245387 (diff) | |
download | aports-81059cff012040daba88ae766539280b40abb81d.tar.bz2 aports-81059cff012040daba88ae766539280b40abb81d.tar.xz |
community/qtkeychain: modernize APKBUILD
Diffstat (limited to 'community/qtkeychain')
-rw-r--r-- | community/qtkeychain/APKBUILD | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/community/qtkeychain/APKBUILD b/community/qtkeychain/APKBUILD index 22bc12a153..0c5df543dc 100644 --- a/community/qtkeychain/APKBUILD +++ b/community/qtkeychain/APKBUILD @@ -2,37 +2,30 @@ # Maintainer: pkgname=qtkeychain pkgver=0.8.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="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" -} +builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$_builddir" + cd "$builddir" cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_INSTALL_LIBEXECDIR=lib/${pkgname} \ -DCMAKE_BUILD_TYPE=Release - make || return 1 + make } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install } |