mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 21:39:07 +08:00
35 lines
729 B
Bash
35 lines
729 B
Bash
|
# Contributions from Arch
|
||
|
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
||
|
|
||
|
pkgname=kirigami
|
||
|
pkgver=1.1.0
|
||
|
pkgrel=1
|
||
|
pkgdesc='A QtQuick based components set'
|
||
|
arch=(i686 x86_64)
|
||
|
url='https://community.kde.org/Frameworks'
|
||
|
license=(LGPL)
|
||
|
depends=(qt5-declarative qt5-svg)
|
||
|
makedepends=(extra-cmake-modules qt5-tools plasma-framework)
|
||
|
source=("http://download.kde.org/stable/$pkgname/$pkgname-$pkgver.tar.xz")
|
||
|
md5sums=('04491f0180ba69cea095e9ed61f76c9f')
|
||
|
|
||
|
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
|
||
|
}
|
||
|
|