summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFrederic Bezies2020-06-13 14:02:40 +0200
committerFrederic Bezies2020-06-13 14:02:40 +0200
commita436e7238ee1c5b811ee5e87e6f70fb73bd79367 (patch)
tree01f37920bc3f964761d4f71d65f4bd8f3508d14c /PKGBUILD
parentc006e8d193521dd2776e9781f27d54b90680ad93 (diff)
downloadaur-a436e7238ee1c5b811ee5e87e6f70fb73bd79367.tar.gz
PKGVER cleanup
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 3 insertions, 5 deletions
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() {