[arch-commits] Commit in qtkeychain/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Tue Mar 29 20:57:23 UTC 2016
Date: Tuesday, March 29, 2016 @ 22:57:23
Author: arojas
Revision: 168826
Update to 0.6.0, drop Qt4 version
Modified:
qtkeychain/trunk/PKGBUILD
----------+
PKGBUILD | 52 +++++++++++++++++-----------------------------------
1 file changed, 17 insertions(+), 35 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-03-29 20:44:35 UTC (rev 168825)
+++ PKGBUILD 2016-03-29 20:57:23 UTC (rev 168826)
@@ -3,56 +3,38 @@
# Contributor: Kuba Serafinowski <zizzfizzix(at)gmail(dot)com>
# Contributor: Teo Mrnjavac <teo at kde.org>
-pkgbase=qtkeychain
-pkgname=(qtkeychain-qt4 qtkeychain-qt5)
-pkgver=0.5
-pkgrel=2
+pkgname=qtkeychain
+pkgver=0.6
+pkgrel=1
pkgdesc='Provides support for secure credentials storage'
arch=(i686 x86_64)
url='https://github.com/frankosterfeld/qtkeychain'
license=(BSD)
-makedepends=(cmake icu qt5-tools qt4)
-source=("$pkgbase-$pkgver.zip::https://github.com/frankosterfeld/qtkeychain/archive/${pkgver}.zip")
-md5sums=('fb4f9d990201d0ba0114c3b97c7753e9')
+depends=(qt5-base)
+conflicts=(qtkeychain-qt5)
+provides=(qtkeychain-qt5)
+replaces=(qtkeuchain-qt5)
+makedepends=(cmake qt5-tools)
+optdepends=('kwallet: kwallet support' 'libgnome-keyring: GNOME keyring support')
+source=("$pkgname-$pkgver.zip::https://github.com/frankosterfeld/qtkeychain/archive/$pkgver.zip")
+md5sums=('44eb27f44708532f9ec222c1d2e2fb85')
prepare() {
- mkdir -p build{4,5}
+ mkdir -p build
}
build() {
- cd build4
- cmake ../$pkgbase-$pkgver \
- -DBUILD_WITH_QT4=ON \
+ cd build
+ cmake ../$pkgname-$pkgver \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_LIBEXECDIR=lib/${pkgname} \
-DCMAKE_BUILD_TYPE=Release
make
-
- cd ../build5
- cmake ../$pkgbase-$pkgver \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib \
- -DCMAKE_INSTALL_LIBEXECDIR=lib/${pkgname} \
- -DCMAKE_BUILD_TYPE=Release
- make
}
-package_qtkeychain-qt4() {
- depends=(qt4)
- optdepends=('gnome-keyring: GNOME password manager')
- provides=(qtkeychain)
- replaces=(qtkeychain)
-
- cd build4
+package() {
+ cd build
make DESTDIR="$pkgdir" install
- install -Dm644 "$srcdir"/$pkgbase-$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ install -Dm644 "$srcdir"/$pkgname-$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
-
-package_qtkeychain-qt5() {
- depends=(qt5-base)
-
- cd build5
- make DESTDIR="$pkgdir" install
- install -Dm644 "$srcdir"/$pkgbase-$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
More information about the arch-commits
mailing list