summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Chen2020-11-19 12:29:32 +0800
committerJack Chen2020-11-19 12:29:32 +0800
commitecd55246b9d0947824139183474e8860e8053881 (patch)
tree9e9ccdbc2f7efd59b7c12ddd6303590ad2e73424
parent721845ed4f0fcba07f75307c9274643c56b82cae (diff)
downloadaur-ecd55246b9d0947824139183474e8860e8053881.tar.gz
update PKGBUILD
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 714893ccf912..c004718ebb83 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
pkgbase = linux-rockchip
- pkgver = 20.08.14
+ pkgver = 5.8.16
pkgrel = 1
url = https://apt.armbian.com
arch = armv7h
diff --git a/PKGBUILD b/PKGBUILD
index 8e512224cd90..2eea09a8992e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgbase=linux-rockchip
pkgname=('linux-rockchip' 'linux-rockchip-headers')
-pkgver=20.08.14
+pkgver=5.8.16
pkgrel=1
arch=('armv7h')
url="https://apt.armbian.com"
@@ -28,13 +28,13 @@ sha512sums=(
noextract=("${source[@]##*/}")
pkgver() {
- cat ../Packages | grep 'linux-image-current-rockchip.*deb' | head -n 1 | sed -r 's#.*_(.*)_armhf.*#\1#'
+ echo "$_kernver" | sed -r 's#-.*##'
}
prepare() {
cd "$srcdir"
- rm -rf boot etc lib usr
+ rm -rf $(find -mindepth 1 -maxdepth 1 -type d)
}
package_linux-rockchip() {