mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
0af05b343a
renamed checksums to kdeapps.sums added for all packages the pgp signature for new/removed packages check: https://community.kde.org/Applications/16.12_Release_Notes#Tarballs_that_we_have_split
33 lines
634 B
Bash
33 lines
634 B
Bash
|
|
pkgname=kdiagram
|
|
pkgver=2.6.0
|
|
pkgrel=1
|
|
pkgdesc="Powerful libraries for creating business diagrams"
|
|
arch=(x86_64)
|
|
url="http://www.kde.org/"
|
|
license=(GPL2)
|
|
depends=(qt5-svg)
|
|
makedepends=(extra-cmake-modules qt5-tools)
|
|
source=("http://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz")
|
|
sha1sums=('e0a94210c295990536465ab1d3fb0d0805382a67')
|
|
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake ../$pkgname-$pkgver \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DBUILD_TESTING=OFF \
|
|
-DKDE_INSTALL_LIBDIR=lib
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="$pkgdir" install
|
|
}
|