summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD30
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1bcd85b5fbe
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = kdstatemachineeditor
+ pkgver = 1.2.2
+ pkgrel = 1
+ url = https://github.com/KDAB/KDStateMachineEditor/
+ arch = any
+ license = LGPL2.1
+ makedepends = cmake
+ makedepends = doxygen
+ makedepends = qt5-tools
+ depends = qt5-declarative
+ depends = qt5-remoteobjects
+ depends = qt5-scxml
+ depends = graphviz
+ source = https://github.com/KDAB/KDStateMachineEditor/archive/v1.2.2.tar.gz
+ sha256sums = d616acc9cea6dc6ad4731d3a2fe12e19cf9ce6d3a59b4cd685cf719bd1b82637
+
+pkgname = kdstatemachineeditor
+
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
+}