summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorPiotr Gorski2019-10-12 01:34:26 +0200
committerPiotr Gorski2019-10-12 01:34:26 +0200
commitcdeb0903d71bc837a74572b39ff57f5e44ba3fbc (patch)
treea0bd2dd997f72dd1b5cc28e6304186d09fac5daf /PKGBUILD
parent592396c6deb0f62a27a4c3cb86870df9d19d11d9 (diff)
downloadaur-cdeb0903d71bc837a74572b39ff57f5e44ba3fbc.tar.gz
Bump to 5.3.6-2
Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 4 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 821a688080c..61206b52d56 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@ _major=5.3
_minor=6
pkgver=${_major}.${_minor}
_srcname=linux-${pkgver}
-pkgrel=1
+pkgrel=2
pkgdesc="User mode Linux kernel and modules"
arch=('x86_64')
license=('GPL2')
@@ -52,8 +52,8 @@ prepare() {
cp ../config .config
yes "" | make ARCH=um config >/dev/null
- make ARCH=um kernelrelease > ../version
- msg2 "Prepared %s version %s" "$pkgbase" "$(<../version)"
+ make ARCH=um kernelrelease > version
+ msg2 "Prepared %s version %s" "$pkgbase" "$(<version)"
msg2 "Save configuration for later reuse"
cat .config > "${startdir}/config.last"
@@ -75,9 +75,8 @@ _package() {
_package-modules() {
- local kernver="$(<version)"
-
cd ${_srcname}
+ local kernver="$(<version)"
# make ARCH=um INSTALL_MOD_PATH="${pkgdir}/usr" modules_install
make ARCH=um INSTALL_MOD_PATH="${pkgdir}/usr" _modinst_
rm -f $pkgdir/usr/lib/modules/${kernver}/{source,build}