summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9f71a47a6f6..5a67bed2989 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Banned Patriot <realbannedpatriot@protonmail.com>
# Based on the PKGBUILD created by Yannick Inizan <inizan[dot]yannick[at]gmail[dot]com>, derived from Ivan Agarkov <ivan[dot]agarkov[at]gmail[dot]com>
-
+basename=mt7610u_wifi_sta
pkgname=mt7610u_wifi_sta-git
pkgver=1
pkgrel=1
@@ -18,7 +18,7 @@ source=("git+https://github.com/BannedPatriot/mt7610u_wifi_sta.git")
md5sums=('SKIP')
pkgver() {
- cd "$pkgname"
+ cd "$basename"
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}