summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD5
2 files changed, 7 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d26f0a070d2..81e8044398c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,15 @@
# Generated by mksrcinfo v8
-# Sun Feb 24 06:34:48 UTC 2019
+# Fri Oct 1 01:06:13 UTC 2021
pkgbase = pnputils-git
pkgdesc = PNP utils
- pkgver = 0.1.3+56.g81e685a
+ pkgver = a
pkgrel = 1
url = http://git.debian.org/?p=collab-maint/pnputils.git
arch = i686
arch = x86_64
license = GPL
- provides = pnputils=0.1.3
+ makedepends = git
+ provides = pnputils=a
conflicts = pnputils
source = git+https://gitlab.com/swiftgeek/pnputils.git
md5sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 89f6bc9c8f2..5e397478022 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,12 +1,13 @@
# Maintainer: Eric Engestrom <aur [at] engestrom [dot] ch>
pkgname=pnputils-git
-pkgver=0.1.3+56.g81e685a
+pkgver=a
pkgrel=1
pkgdesc="PNP utils"
arch=('i686' 'x86_64')
url='http://git.debian.org/?p=collab-maint/pnputils.git'
license=('GPL')
+makedepends=('git')
source=('git+https://gitlab.com/swiftgeek/pnputils.git')
md5sums=('SKIP')
conflicts=('pnputils')
@@ -14,7 +15,7 @@ provides=("pnputils=${pkgver%+*}")
pkgver() {
cd "$srcdir/pnputils"
- git describe --long --tags | sed 's#.*/##; s/-/./; s/-/+/; s/-/./'
+ git describe --long --tags | sed 's#.*/##; s/\([^-]*-g\)/r\1/; s/-/./g'
}
build() {