summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Bezies2020-06-13 14:02:40 +0200
committerFrederic Bezies2020-06-13 14:02:40 +0200
commita436e7238ee1c5b811ee5e87e6f70fb73bd79367 (patch)
tree01f37920bc3f964761d4f71d65f4bd8f3508d14c
parentc006e8d193521dd2776e9781f27d54b90680ad93 (diff)
downloadaur-a436e7238ee1c5b811ee5e87e6f70fb73bd79367.tar.gz
PKGVER cleanup
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD8
2 files changed, 5 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8a7d46715ff..61c2ac99c66 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = caprice32-git
pkgdesc = An emulator of the Amstrad CPC 8bit home computer range (CPC 464, 664, 6128)
- pkgver = v4.5.0.r179.g40abd2a
- pkgrel = 1
+ pkgver = 4.5.0.r179.g40abd2a
+ pkgrel = 2
url = https://github.com/ColinPitrat/caprice32
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 17ad91898e9..ed902bdd76f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Frederic Bezies <fredbezies at gmail dot com>
# Contributor: Colin Pitrat <colin dot pitrat at gmail dot com>
pkgname=caprice32-git
-pkgver=v4.5.0.r179.g40abd2a
-pkgrel=1
+pkgver=4.5.0.r179.g40abd2a
+pkgrel=2
pkgdesc="An emulator of the Amstrad CPC 8bit home computer range (CPC 464, 664, 6128)"
arch=('i686' 'x86_64')
url="https://github.com/ColinPitrat/caprice32"
@@ -15,9 +15,7 @@ sha256sums=('SKIP'
pkgver() {
cd caprice32
- git describe --long | sed 's/^latest-//;s/\([^-]*-g\)/r\1/;s/-/./g'
-
-
+ git describe --long | sed 's/^latest-//;s/\([^-]*-g\)/r\1/;s/-/./g' | cut -c2-48
}
build() {