summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaansu-auto2018-08-14 08:10:42 -0700
committerRaansu-auto2018-08-14 08:10:42 -0700
commit4d33189d9eaed60116b81efb799a777e2ac58eca (patch)
tree70b31c96990dc70c4905ad07c91a83576c19d83e
parentf7aca2f471fe721588018f358723ddafa00ad387 (diff)
downloadaur-4d33189d9eaed60116b81efb799a777e2ac58eca.tar.gz
Fix pkgdesc and update PKGBUILD
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD13
2 files changed, 24 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0c13f8b1076..60ab2de72cd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -8,8 +8,8 @@ pkgbase = linux-aarch64-rock64-bin
depends = linux-firmware
depends = kmod
depends = mkinitcpio>=0.7
+ provides = kernel26
provides = linux=4.4.138_1094
- provides = linux-aarch64=4.4.138_1094
conflicts = linux
conflicts = linux-aarch64
conflicts = linux-arch64-rc
@@ -28,6 +28,25 @@ pkgbase = linux-aarch64-rock64-bin
sha256sums = c87f3c6d4fa19319d5f81b65a45d62ab71e570bdf549c7e6c0f89292dcb5174f
pkgname = linux-aarch64-rock64-bin
+ pkgdesc = The Linux Kernel and modules - AArch64 for Rock64. This package will fetch a Debian built kernel as a temporary workaround for USB 3.0 fixes.
+ install = linux-aarch64-rock64-bin.install
+ depends = coreutils
+ depends = linux-firmware
+ depends = kmod
+ depends = mkinitcpio>=0.7
+ optdepends = crda: to set the correct wireless channels of your country
+ provides = linux=4.4.138_1094
+ provides = linux-aarch64=4.4.138_1094
+ conflicts = linux
+ conflicts = linux-aarch64
+ conflicts = linux-arch64-rc
+ replaces = linux-armv8
+ backup = etc/mkinitcpio.d/linux-aarch64-rock64-bin.preset
pkgname = linux-aarch64-rock64-bin-headers
+ pkgdesc = Header files and scripts for building modules for linux kernel - AArch64 for Rock64. This package will fetch a Debian built kernel as a temporary workaround for USB 3.0 fixes.
+ optdepends = linux-aarch64-rock64-bin
+ provides = linux-headers=4.4.138_1094
+ conflicts = linux-headers
+ replaces = linux-armv8-headers
diff --git a/PKGBUILD b/PKGBUILD
index 665e09d8c93..bb84905be88 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,6 +13,7 @@ _pkgver=4.4.138_1094
_desc="AArch64 for Rock64. This package will fetch a Debian built kernel as a temporary workaround for USB 3.0 fixes."
pkgbase=linux-aarch64-rock64-bin
+pkgname=('linux-aarch64-rock64-bin' 'linux-aarch64-rock64-bin-headers')
pkgver="${_pkgver}"
pkgrel=1
arch=('aarch64')
@@ -56,7 +57,7 @@ prepare() {
tar -xf data.tar.xz
}
-_package() {
+package_linux-aarch64-rock64-bin() {
pkgdesc="The Linux Kernel and modules - ${_desc}"
depends=('coreutils' 'linux-firmware' 'kmod' 'mkinitcpio>=0.7')
optdepends=('crda: to set the correct wireless channels of your country')
@@ -107,11 +108,12 @@ _package() {
}
-_package-headers() {
+package_linux-aarch64-rock64-bin-headers() {
pkgdesc="Header files and scripts for building modules for linux kernel - ${_desc}"
provides=("linux-headers=${pkgver}")
replaces=('linux-armv8-headers')
conflicts=('linux-headers')
+ optdepends=('linux-aarch64-rock64-bin')
KARCH=arm64
@@ -152,10 +154,3 @@ _package-headers() {
# remove unneeded architectures
rm -rf "${pkgdir}"/usr/lib/modules/${_kernver}/build/arch/{alpha,arc,arm,arm26,avr32,blackfin,c6x,cris,frv,h8300,hexagon,ia64,m32r,m68k,m68knommu,metag,mips,microblaze,mn10300,openrisc,parisc,powerpc,ppc,s390,score,sh,sh64,sparc,sparc64,tile,unicore32,um,v850,x86,xtensa}
}
-
-pkgname=("${pkgbase}" "${pkgbase}-headers")
-for _p in ${pkgname[@]}; do
- eval "package_${_p}() {
- _package${_p#${pkgbase}}
- }"
-done