From abef9db380deca88617f7014b683667ef6fc81e4 Mon Sep 17 00:00:00 2001 From: "Jan Alexander Steffens (heftig)" Date: Sat, 16 Mar 2024 17:14:08 +0000 Subject: [PATCH] Fix license, disable debug debug creates empty an empty /usr/src/debug/linux since makepkg 6.1. --- .SRCINFO | 3 ++- PKGBUILD | 7 +++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index bbb8731..a07a74d 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -4,7 +4,7 @@ pkgbase = linux pkgrel = 1 url = https://github.com/archlinux/linux arch = x86_64 - license = GPL2 + license = GPL-2.0-only makedepends = bc makedepends = cpio makedepends = gettext @@ -19,6 +19,7 @@ pkgbase = linux makedepends = python-sphinx makedepends = python-yaml makedepends = texlive-latexextra + options = !debug options = !strip source = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.8.1.tar.xz source = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.8.1.tar.sign diff --git a/PKGBUILD b/PKGBUILD index e801752..0f32a2a 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -6,7 +6,7 @@ pkgrel=1 pkgdesc='Linux' url='https://github.com/archlinux/linux' arch=(x86_64) -license=(GPL2) +license=(GPL-2.0-only) makedepends=( bc cpio @@ -25,7 +25,10 @@ makedepends=( python-yaml texlive-latexextra ) -options=('!strip') +options=( + !debug + !strip +) _srcname=linux-${pkgver%.*} _srctag=v${pkgver%.*}-${pkgver##*.} source=(