mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
c220ab45dd
- I don't think -qt4 is ever required anyway... - strip the -qt5 suffix - replace -qt4 -qt5 with qtkeychain to help users remove the -qt4
35 lines
971 B
Bash
35 lines
971 B
Bash
pkgname=qtkeychain
|
|
pkgver=0.8.0
|
|
pkgrel=1
|
|
pkgdesc="Provides support for secure credentials storage."
|
|
arch=('x86_64')
|
|
url="https://github.com/frankosterfeld/qtkeychain"
|
|
license=('BSD')
|
|
depends=('qt5-base')
|
|
makedepends=('cmake' 'icu' 'qt5-tools' 'extra-cmake-modules')
|
|
provides=("$pkgname-qt"{4,5})
|
|
replaces=("$pkgname-qt"{4,5})
|
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/frankosterfeld/$pkgname/archive/v${pkgver}.tar.gz")
|
|
sha1sums=('d6ff0726245ee24e249e76ee9025b473239dd637')
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd $srcdir/build
|
|
cmake ../$pkgbase-$pkgver \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DCMAKE_INSTALL_LIBEXECDIR=lib/${pkgname} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DLIBSECRET_SUPPORT=OFF
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/build
|
|
make DESTDIR="$pkgdir" install
|
|
install -Dm644 "$srcdir"/$pkgname-$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
|
}
|