mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
43 lines
1.3 KiB
Bash
43 lines
1.3 KiB
Bash
# Maintainer: kote <kote at chakra-project dot org>
|
|
# Arch linux maintainers and contributors:
|
|
# Maintainer: Kuba Serafinowski <zizzfizzix(at)gmail(dot)com>
|
|
# Contributor: Teo Mrnjavac <teo@kde.org>
|
|
# https://github.com/zizzfizzix/pkgbuilds
|
|
|
|
pkgname=qtkeychain
|
|
pkgver=0.3
|
|
pkgrel=1
|
|
pkgdesc="Provides support for secure credentials storage."
|
|
arch=('x86_64')
|
|
url="https://github.com/frankosterfeld/qtkeychain"
|
|
license=('BSD')
|
|
depends=('qt')
|
|
makedepends=('cmake')
|
|
options=(!strip)
|
|
source=("${pkgname}-${pkgver}.zip::https://github.com/frankosterfeld/qtkeychain/archive/${pkgver}.zip")
|
|
md5sums=('8a82d813969fd1144d1d06769a2476f8')
|
|
|
|
prepare() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
|
|
if [[ -e ${srcdir}/${pkgname}-${pkgver}-build ]]; then rm -rf ${srcdir}/${pkgname}-${pkgver}-build; fi
|
|
mkdir ${srcdir}/${pkgname}-${pkgver}-build
|
|
}
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}-build
|
|
cmake -DBUILD_WITH_QT4=on \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DCMAKE_INSTALL_LIBEXECDIR=lib/${pkgname} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
../${pkgname}-${pkgver}
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}-build
|
|
make DESTDIR=${pkgdir} install
|
|
install -D -m644 ${srcdir}/${pkgname}-${pkgver}/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
|
|
}
|