summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authordavedatum2019-11-01 18:45:14 +0000
committerdavedatum2019-11-01 18:45:14 +0000
commit7c693aa24dc528905b672b08a9dcbf3b16993dcc (patch)
tree19b5c0902e515877e5c4dfb10087a51a3fb6a122
downloadaur-7c693aa24dc528905b672b08a9dcbf3b16993dcc.tar.gz
init, correct name to -git
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD29
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b84105c0962
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = heimer-git
+ pkgdesc = simple cross-platform mind map and note-taking tool written in Qt.
+ pkgver = 1.11.0.r0.g6a36683
+ pkgrel = 1
+ url = https://github.com/juzzlin/heimer
+ arch = x86_64
+ license = GPL3
+ makedepends = git
+ makedepends = cmake
+ depends = qt5-tools
+ source = heimer::git+https://github.com/juzzlin/heimer.git#tag=1.11.0
+ md5sums = SKIP
+
+pkgname = heimer-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..38c1e6aaf83
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: davedatum <ask at davedatum dot com>
+
+pkgname=heimer-git
+_pkgname=heimer
+pkgver=1.11.0.r0.g6a36683
+pkgrel=1
+pkgdesc="simple cross-platform mind map and note-taking tool written in Qt."
+arch=("x86_64")
+url="https://github.com/juzzlin/heimer"
+license=("GPL3")
+depends=("qt5-tools")
+makedepends=("git" "cmake")
+source=("heimer::git+$url.git#tag=1.11.0")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "${_pkgname}"
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+build() {
+ cd "${srcdir}/${_pkgname}"
+ mkdir build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}/build"
+ make DESTDIR="$pkgdir/" install
+} \ No newline at end of file