summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernd Amend2020-11-24 20:24:26 +0100
committerBernd Amend2020-11-24 20:24:26 +0100
commit4d58fb36a176c497cfd572bdabf5a71bb7d34755 (patch)
tree467b6f97fd1c4119f1527a585dd410bd248592a5
parent7d7c437f0798ed0f837931c6ba3934ed5a31c662 (diff)
downloadaur-4d58fb36a176c497cfd572bdabf5a71bb7d34755.tar.gz
use _pkgname and pkgver in the source url
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cfc650304679..000c0610767e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = r8125-dkms
pkgdesc = Kernel module for RTL8125
pkgver = 9.004.01
- pkgrel = 5
+ pkgrel = 6
url = https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software
arch = any
license = GPL2
diff --git a/PKGBUILD b/PKGBUILD
index 96b18a059d4a..dcbe1ea6d9ed 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
_pkgname=r8125
pkgname=${_pkgname}-dkms
pkgver=9.004.01
-pkgrel=5
+pkgrel=6
url="https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software"
pkgdesc="Kernel module for RTL8125"
license=('GPL2')
@@ -14,7 +14,7 @@ depends=('dkms')
conflicts=("${_pkgname}")
optdepends=('linux-headers: Build the module for Arch kernel'
'linux-lts-headers: Build the module for LTS Arch kernel')
-source=("https://github.com/aravance/r8125/archive/9.004.01.tar.gz" 'dkms.conf')
+source=("https://github.com/aravance/${_pkgname}/archive/${pkgver}.tar.gz" 'dkms.conf')
sha256sums=('00ed124510ccf7bcaa6972a2e3ce527c83aa9f6aa35a4d23abbb61b6916f60cb'
'ad4c67e0c74661d19b74872f98254184d4b04e32e4c57b338a84fbcefa4c721f')