mirror of
https://github.com/archlinux-jerry/pkgbuilds
synced 2024-11-22 22:10:40 +08:00
update: linux-phicomm-n1 to 5.3.0
This commit is contained in:
parent
e5287ab510
commit
b8540f24db
3 changed files with 278 additions and 1144 deletions
|
@ -4,11 +4,11 @@
|
||||||
buildarch=8
|
buildarch=8
|
||||||
|
|
||||||
pkgbase=linux-phicomm-n1
|
pkgbase=linux-phicomm-n1
|
||||||
_srcname=linux-5.2
|
_srcname=linux-5.3
|
||||||
_kernelname=${pkgbase#linux}
|
_kernelname=${pkgbase#linux}
|
||||||
_desc="AArch64 kernel for Phicomm N1"
|
_desc="AArch64 kernel for Phicomm N1"
|
||||||
pkgver=5.2.16
|
pkgver=5.3.0
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
arch=('aarch64')
|
arch=('aarch64')
|
||||||
url="http://www.kernel.org/"
|
url="http://www.kernel.org/"
|
||||||
license=('GPL2')
|
license=('GPL2')
|
||||||
|
@ -16,16 +16,18 @@ depends=('uboot-tools')
|
||||||
makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc' 'git' 'uboot-tools' 'vboot-utils' 'dtc')
|
makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc' 'git' 'uboot-tools' 'vboot-utils' 'dtc')
|
||||||
options=('!strip')
|
options=('!strip')
|
||||||
source=("http://www.kernel.org/pub/linux/kernel/v5.x/${_srcname}.tar.xz"
|
source=("http://www.kernel.org/pub/linux/kernel/v5.x/${_srcname}.tar.xz"
|
||||||
"http://www.kernel.org/pub/linux/kernel/v5.x/patch-${pkgver}.xz"
|
|
||||||
'meson-gxl-s905d-phicomm-n1.dts'
|
'meson-gxl-s905d-phicomm-n1.dts'
|
||||||
'config'
|
'config'
|
||||||
'linux.preset'
|
'linux.preset'
|
||||||
'60-linux.hook'
|
'60-linux.hook'
|
||||||
'90-linux.hook')
|
'90-linux.hook')
|
||||||
md5sums=('ddf994de00d7b18395886dd9b30b9262'
|
|
||||||
'5543fb44d18f437ddd982865bed7b7cd'
|
[[ ${pkgver##*.} != 0 ]] && \
|
||||||
|
source+=("http://www.kernel.org/pub/linux/kernel/v5.x/patch-${pkgver}.xz")
|
||||||
|
|
||||||
|
md5sums=('c99feaade8047339528fb066ec5f8a49'
|
||||||
'caa2dbc19116d818e6d0d46baeca961b'
|
'caa2dbc19116d818e6d0d46baeca961b'
|
||||||
'aa697ec98d7e2016a85fb4c237559794'
|
'e603bb96b99a10519dc32f03d3f16cc6'
|
||||||
'66e0ae63183426b28c0ec0c7e10b5e16'
|
'66e0ae63183426b28c0ec0c7e10b5e16'
|
||||||
'ce6c81ad1ad1f8b333fd6077d47abdaf'
|
'ce6c81ad1ad1f8b333fd6077d47abdaf'
|
||||||
'bdeb5fb852fd92b4e76b4796db500dd4')
|
'bdeb5fb852fd92b4e76b4796db500dd4')
|
||||||
|
@ -34,6 +36,7 @@ prepare() {
|
||||||
cd ${_srcname}
|
cd ${_srcname}
|
||||||
|
|
||||||
# add upstream patch
|
# add upstream patch
|
||||||
|
[[ ${pkgver##*.} != 0 ]] && \
|
||||||
patch -p1 < "../patch-${pkgver}"
|
patch -p1 < "../patch-${pkgver}"
|
||||||
|
|
||||||
cat "${srcdir}/config" > ./.config
|
cat "${srcdir}/config" > ./.config
|
||||||
|
|
|
@ -51,6 +51,7 @@ pkgver=$(source $PKGBUILD; echo $pkgver)
|
||||||
pkgrel=$(source $PKGBUILD; echo $pkgrel)
|
pkgrel=$(source $PKGBUILD; echo $pkgrel)
|
||||||
[ "$pkgver" != "$newpkgver" ] && echo "unexpected pkgver: ${pkgver}" >&2 && exit 1
|
[ "$pkgver" != "$newpkgver" ] && echo "unexpected pkgver: ${pkgver}" >&2 && exit 1
|
||||||
[ "$pkgrel" != '1' ] && echo "unexpected pkgrel: ${pkgrel}" >&2 && exit 1
|
[ "$pkgrel" != '1' ] && echo "unexpected pkgrel: ${pkgrel}" >&2 && exit 1
|
||||||
|
updpkgsums
|
||||||
git add $PKGBUILD
|
git add $PKGBUILD
|
||||||
git commit -m "autoupdate: linux-phicomm-n1 to ${pkgver}"
|
git commit -m "autoupdate: linux-phicomm-n1 to ${pkgver}"
|
||||||
git push
|
git push
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue