summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorhaawda2019-01-19 19:57:30 +0100
committerhaawda2019-01-19 19:57:30 +0100
commit79f56213332610e164a0db6fe01a45dc61f4c215 (patch)
tree4fbc08a34c42e0006a67069153ec047c17c43963 /PKGBUILD
parent094c45de9d8ad4eadcc5afa2f5cfad5473c3bf13 (diff)
downloadaur-emacs-flycheck-pos-tip-git.tar.gz
adopted and reuploaded
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 34d807094d8..f981c6e7c32 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,10 +1,11 @@
-# Maintainer: sballert <sballert@posteo.de>
+# Contributor: sballert <sballert@posteo.de>
+# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
_gituser="flycheck"
_gitrepo="flycheck-pos-tip"
pkgname=emacs-flycheck-pos-tip-git
-pkgver=r60.9091139
+pkgver=0.3.6.g9091139
pkgrel=1
pkgdesc="Flycheck errors display in tooltip"
url="https://github.com/${_gituser}/${_gitrepo}"
@@ -19,7 +20,7 @@ sha256sums=('SKIP')
pkgver() {
cd "$_gitrepo"
- printf "r%s.%s" $(git rev-list --count HEAD) $(git rev-parse --short HEAD)
+ git describe --tags | tr - .
}
build() {
@@ -29,6 +30,6 @@ build() {
package() {
cd "$_gitrepo"
- install -d "$pkgdir"/usr/share/emacs/site-lisp/${_gitrepo}/
- install -m644 *.el{c,} "$pkgdir"/usr/share/emacs/site-lisp/${_gitrepo}/
+ install -d "$pkgdir"/usr/share/emacs/site-lisp
+ install -m644 *.el{c,} "$pkgdir"/usr/share/emacs/site-lisp
}