mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 03:54:37 +08:00
36 lines
879 B
Bash
36 lines
879 B
Bash
# Arch Contributor: https://projects.archlinux.org/svntogit/packages.git/plain/trunk/PKGBUILD?h=packages/kirigami2
|
|
|
|
pkgname=kirigami2
|
|
pkgver=2.0.0
|
|
pkgrel=1
|
|
pkgdesc='A QtQuick based components set'
|
|
arch=(i686 x86_64)
|
|
url='https://community.kde.org/Frameworks'
|
|
license=(LGPL)
|
|
depends=(qt5-quickcontrols2)
|
|
makedepends=(extra-cmake-modules qt5-tools plasma-framework)
|
|
source=("http://download.kde.org/stable/kirigami/$pkgname-$pkgver.tar.xz"{,.asc})
|
|
md5sums=('6a43251125039362e9de4d370057717d'
|
|
'SKIP')
|
|
validpgpkeys=('1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin <notmart@gmail.com>
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake ../${pkgname}-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DKDE_INSTALL_LIBDIR=lib \
|
|
-DBUILD_TESTING=OFF
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|