summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0b3c20e255278dda5f67d153a459dda414e4eca9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: davedatum <ask at davedatum dot com>

pkgname=heimer-git
pkgver=1.15.0.r0.ge706be0
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=("${pkgname}::git+$url.git#tag=1.15.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
}