summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiacomo Comitti2019-09-14 17:00:54 +0200
committerGiacomo Comitti2019-09-14 17:00:54 +0200
commited8419221e0b65fd53dc3bcf7b719c41d55abffd (patch)
tree482a62c543245383925508929a7b8083d75ef4cd
parentd2536316d5971923638667a1b6625298e0171797 (diff)
downloadaur-ed8419221e0b65fd53dc3bcf7b719c41d55abffd.tar.gz
Fix PKGBUILD
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6ef1a265605..69b8215baca 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = mktree
pkgdesc = Simple tool for creating directory trees in one shot
- pkgver = 0.3
+ pkgver = 0.3.1
pkgrel = 1
url = https://github.com/gcmt/mktree
arch = i686
@@ -11,7 +11,7 @@ pkgbase = mktree
depends = python
provides = mktree
conflicts = mktree
- source = mktree-0.3::git+https://github.com/gcmt/mktree
+ source = _mktree::git+https://github.com/gcmt/mktree
sha1sums = SKIP
pkgname = mktree
diff --git a/PKGBUILD b/PKGBUILD
index d08c19c5955..96f840cf9bb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Giacomo Comitti <dev@gcomit.com>
pkgname=mktree
-pkgver=0.3
-_pkgname="${pkgname}-${pkgver}"
+pkgver=0.3.1
+_pkgname="_${pkgname}"
pkgrel=1
pkgdesc="Simple tool for creating directory trees in one shot"
arch=("i686" "x86_64")
@@ -15,7 +15,7 @@ source=("${_pkgname}::git+https://github.com/gcmt/mktree")
sha1sums=("SKIP")
pkgver() {
- git -C "${_pkgname}" describe --tags | sed "s/-/./g"
+ git -C "${_pkgname}" describe --long --tags | sed "s/-/.r/;s/-/./g"
}
package() {