mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
30 lines
768 B
Bash
30 lines
768 B
Bash
pkgname=kdstatemachineeditor
|
|
pkgver=1.2.0
|
|
pkgrel=1
|
|
pkgdesc="framework for creating Qt State Machine metacode using graphical user interfaces"
|
|
arch=('x86_64')
|
|
url="http://kdab.github.io/KDStateMachineEditor"
|
|
license=('LGPL')
|
|
depends=('qt5-base>=5.6' 'qt5-graphicaleffects' 'graphviz')
|
|
makedepends=("cmake" 'doxygen')
|
|
source=("https://github.com/KDAB/KDStateMachineEditor/releases/download/v${pkgver}/kdstatemachineeditor-${pkgver}.tar.gz")
|
|
sha256sums=('c1b04a17243cfa669398ad0d77dbca3265ef0630868a3dc106251c4b56e717c6')
|
|
|
|
prepare()
|
|
{
|
|
cd "$srcdir/${pkgname}-$pkgver"
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd "$srcdir/${pkgname}-$pkgver/build"
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
|
|
make
|
|
}
|
|
|
|
package()
|
|
{
|
|
cd "$srcdir/$pkgname-$pkgver/build"
|
|
make DESTDIR=${pkgdir} install
|
|
}
|