summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAlbert Astals Cid2018-02-09 10:13:30 +0100
committerAlbert Astals Cid2018-02-09 10:13:30 +0100
commit5422176303cd78c9bfbc9681f7ca2bd510b8b3c9 (patch)
tree86e2eaf1356d68420f9ed6abda4d7ac4ed56b014 /PKGBUILD
downloadaur-5422176303cd78c9bfbc9681f7ca2bd510b8b3c9.tar.gz
kdstatemachineeditor 1.2.2
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b226c422e60
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+pkgname=kdstatemachineeditor
+pkgver=1.2.2
+pkgrel=1
+arch=(any)
+pkgdesc=""
+license=("LGPL2.1")
+depends=('qt5-declarative' 'qt5-remoteobjects' 'qt5-scxml' 'graphviz')
+makedepends=('cmake' 'doxygen' 'qt5-tools')
+url="https://github.com/KDAB/KDStateMachineEditor/"
+source=("https://github.com/KDAB/KDStateMachineEditor/archive/v${pkgver}.tar.gz")
+sha256sums=('d616acc9cea6dc6ad4731d3a2fe12e19cf9ce6d3a59b4cd685cf719bd1b82637')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_TESTING=OFF \
+ ../KDStateMachineEditor-${pkgver}
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}