summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrealgagu2018-11-08 17:31:19 -0500
committerfrealgagu2018-11-08 17:31:19 -0500
commit8ff8ae9fc21669aedf704f08041d72f77d07b5cc (patch)
tree22859d23695499128465ff6f543d51aa25a046d7
parent7ab397cea6c76c3b64466b59e152d80b1a57e60e (diff)
downloadaur-8ff8ae9fc21669aedf704f08041d72f77d07b5cc.tar.gz
Fixing pkgver sed range. Compiling in chroot.
-rw-r--r--.SRCINFO2
-rw-r--r--.gitignore2
-rw-r--r--PKGBUILD4
3 files changed, 5 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d752dcb7495..8480d9ce71f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = just-git
pkgdesc = A handy way to save and run project-specific commands
- pkgver = 0.3.10.r0.ef45b02
+ pkgver = 0.3.13.r0.849cdcb
pkgrel = 1
url = https://github.com/casey/just
arch = i686
diff --git a/.gitignore b/.gitignore
index 1c8d3e57d93..03627a88238 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,6 @@
just-git-*.pkg.tar.xz
+just-git-*.log
+PKGBUILD-namcap.log
just/
pkg/
src/
diff --git a/PKGBUILD b/PKGBUILD
index 1b5f45bf83d..22dd96c01aa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=just-git
-pkgver=0.3.10.r0.ef45b02
+pkgver=0.3.13.r0.849cdcb
pkgrel=1
pkgdesc="A handy way to save and run project-specific commands"
arch=("i686" "x86_64")
@@ -19,7 +19,7 @@ pkgver() {
cd "${srcdir}/${pkgname%-git}"
(
set -o pipefail
- git describe --long --tags 2> /dev/null | sed "s/^[a-Z\.\-]*//;s/\([^-]*-\)g/r\1/;s/-/./g" ||
+ git describe --long --tags 2> /dev/null | sed "s/^[A-Za-z\.\-]*//;s/\([^-]*-\)g/r\1/;s/-/./g" ||
printf "r%s.%s\n" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
)
}