diff options
author | Simao Gomes Viana | 2020-07-17 09:03:04 +0200 |
---|---|---|
committer | Simao Gomes Viana | 2020-07-17 09:03:18 +0200 |
commit | cac6c4abb7fa526019fe07a8e337cd20f65cdfad (patch) | |
tree | a56fafaa8094fbf8537be35ccf3c5408f667c0fd /PKGBUILD | |
parent | b026ce137477aeeea1b944741fa7d2b0f78a8cfe (diff) | |
download | aur-cac6c4abb7fa526019fe07a8e337cd20f65cdfad.tar.gz |
Fix build
Signed-off-by: Simao Gomes Viana <devel@superboring.dev>
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -13,7 +13,7 @@ pkgbase=linux-nitrous-fire-git _srcname=linux-nitrous pkgver=5.7+ -pkgrel=12 +pkgrel=13 arch=('x86_64') url="https://gitlab.com/xdevs23/linux-nitrous" license=('GPL2') @@ -32,7 +32,7 @@ pkgver() { } prepare() { - cd "${_srcname}" + cd "linux-nitrous" # don't run depmod on 'make install'. We'll do this ourselves in packaging sed -i '2iexit 0' scripts/depmod.sh @@ -55,7 +55,7 @@ prepare() { } build() { - cd "${_srcname}" + cd "linux-nitrous" make HOSTCC=clang CC=clang nitrous-fire_defconfig makeflags="${MAKEFLAGS}" @@ -77,7 +77,7 @@ _package() { backup=("etc/mkinitcpio.d/linux-nitrous-fire-git.preset") install=${pkgbase}.install - cd "${_srcname}" + cd "linux-nitrous" KARCH=x86 @@ -139,7 +139,7 @@ _package-headers() { install -dm755 "${pkgdir}/usr/lib/modules/${_kernver}" - cd "${_srcname}" + cd "linux-nitrous" # Fix for DKMS because clang doesn't like this for f in Makefile kernel/Makefile; do @@ -261,7 +261,7 @@ _package-docs() { pkgdesc="Kernel hackers manual - HTML documentation that comes with the Linux kernel (git version)" provides=('linux-docs') - cd "${_srcname}" + cd "linux-nitrous" mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build" cp -al Documentation "${pkgdir}/usr/lib/modules/${_kernver}/build" |