summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authordavedatum2019-11-03 01:04:06 +0000
committerdavedatum2019-11-03 01:04:06 +0000
commite47e4128e55c073625b017dd921ce71715f32f7e (patch)
tree878cd47114c7c482d43c8766220b8843aeebcbcd
parent7c693aa24dc528905b672b08a9dcbf3b16993dcc (diff)
downloadaur-e47e4128e55c073625b017dd921ce71715f32f7e.tar.gz
updated pkgname
-rw-r--r--PKGBUILD7
1 files changed, 3 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 38c1e6aaf83..65ef9a375ab 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,6 @@
# 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."
@@ -14,16 +13,16 @@ source=("heimer::git+$url.git#tag=1.11.0")
md5sums=('SKIP')
pkgver() {
- cd "${_pkgname}"
+ cd "${pkgname}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
- cd "${srcdir}/${_pkgname}"
+ cd "${srcdir}/${pkgname}"
mkdir build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
}
package() {
- cd "${srcdir}/${_pkgname}/build"
+ cd "${srcdir}/${pkgname}/build"
make DESTDIR="$pkgdir/" install
} \ No newline at end of file