summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorpingplug2018-01-31 14:11:48 +0800
committerpingplug2018-01-31 14:11:48 +0800
commitb7c153a07e175a69590f80f7f49926ee97b2c5d3 (patch)
tree26bc23936e8e878f125239c121f28f793e17ff76 /PKGBUILD
parenta7bba9b7cc56cbb6c26ffaf4ba5f9159bec5bbec (diff)
downloadaur-b7c153a07e175a69590f80f7f49926ee97b2c5d3.tar.gz
minor fix
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 76d678bfbaf7..f1e8b3679445 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=xf86-video-mga
-pkgver=xf86+video+mga+1.6.5+8+g2998868
+pkgver=1.6.5+8+g2998868
pkgrel=1
pkgdesc="X.org mga video driver"
arch=(x86_64)
@@ -18,7 +18,7 @@ sha256sums=('SKIP')
pkgver() {
cd $pkgname
- git describe --tags | sed 's/-/+/g'
+ git describe | sed 's/^.*mga-//g' | sed 's/-/+/g'
}
prepare() {