2016-03-26 00:39:46 +08:00
|
|
|
pkgname=kdstatemachineeditor
|
2017-02-23 03:53:16 +08:00
|
|
|
pkgver=1.2.0
|
2016-07-27 20:07:46 +08:00
|
|
|
pkgrel=1
|
2016-03-26 00:39:46 +08:00
|
|
|
pkgdesc="framework for creating Qt State Machine metacode using graphical user interfaces"
|
|
|
|
arch=('x86_64')
|
|
|
|
url="http://kdab.github.io/KDStateMachineEditor"
|
|
|
|
license=('LGPL')
|
2016-07-27 20:07:46 +08:00
|
|
|
depends=('qt5-base>=5.6' 'qt5-graphicaleffects' 'graphviz')
|
2016-03-26 00:39:46 +08:00
|
|
|
makedepends=("cmake" 'doxygen')
|
2016-07-27 20:07:46 +08:00
|
|
|
source=("https://github.com/KDAB/KDStateMachineEditor/releases/download/v${pkgver}/kdstatemachineeditor-${pkgver}.tar.gz")
|
2017-02-23 03:53:16 +08:00
|
|
|
sha256sums=('c1b04a17243cfa669398ad0d77dbca3265ef0630868a3dc106251c4b56e717c6')
|
2016-03-26 00:39:46 +08:00
|
|
|
|
|
|
|
prepare()
|
|
|
|
{
|
|
|
|
cd "$srcdir/${pkgname}-$pkgver"
|
|
|
|
mkdir -p build
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$srcdir/${pkgname}-$pkgver/build"
|
2016-03-26 01:35:25 +08:00
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
|
2016-03-26 00:39:46 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package()
|
|
|
|
{
|
|
|
|
cd "$srcdir/$pkgname-$pkgver/build"
|
2016-03-26 01:35:25 +08:00
|
|
|
make DESTDIR=${pkgdir} install
|
2016-03-26 00:39:46 +08:00
|
|
|
}
|