summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBanned Patriot2021-07-14 12:09:41 -0500
committerBanned Patriot2021-07-14 12:09:41 -0500
commitd2011f177c85fa2b85330871ba0346354f7c84ff (patch)
tree91820e55c3d1ce456fadbcf3618ee43f97f4b0b5
parent65534fbc246504d0b33d8e04ae1eadb908f930a7 (diff)
downloadaur-d2011f177c85fa2b85330871ba0346354f7c84ff.tar.gz
updated pkgbuild
-rw-r--r--PKGBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5a67bed2989..a6e2db79c36 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# 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
+pkgver=16f4781
pkgrel=1
# To get an overview of witch WiFi dongle has this chipset refer to https://wikidevi.com/wiki/MediaTek_MT7610U
pkgdesc="Kernel module for MediaTek MT7610U chipset featured in TP-Link Archer T2U and T2UH, TP-Link TL-WDN5200, ASUS USB-AC50, ASUS USB-AC51, Comcast Xfinity KXW02AAA, D-Link DWA-171 rev B1 and more"
@@ -18,17 +18,17 @@ source=("git+https://github.com/BannedPatriot/mt7610u_wifi_sta.git")
md5sums=('SKIP')
pkgver() {
- cd "$basename"
- git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ cd "${srcdir}/${basename}"
+ git describe --always | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
- cd "${srcdir}/${pkgname}"
- make -C "${srcdir}/${pkgname}"
+ cd "${srcdir}/${basename}"
+ make -C "${srcdir}/${basename}"
}
package() {
- cd "${srcdir}/${pkgname}"
+ cd "${srcdir}/${basename}"
mkdir -p "${pkgdir}/etc/Wireless/RT2870STA"
mkdir -p "${pkgdir}/usr/lib/modules/$(uname -r)/kernel/drivers/net/wireless/os/linux"
install -m 644 -t "${pkgdir}/etc/Wireless/RT2870STA" RT2870STA.dat