summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichaël Ball <git@michaelball.name>2021-11-26 22:21:49 +0000
committerMichaël Ball <git@michaelball.name>2021-11-26 22:21:49 +0000
commite9e51ba043c6dc9a7d6c3f6e02468328d11120cd (patch)
tree02fcd0496b1e012a92af1c319082ef1d3e3b5a8b
parent0238e75f03e169ff82182f1fff7528a6d283cf5d (diff)
Add local changesHEADmain
-rw-r--r--PKGBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d05c190..2faf72c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,7 +12,7 @@ makedepends=('bc' 'git' 'graphviz' 'imagemagick' 'kmod' 'libelf' 'pahole'
'python-sphinx' 'python-sphinx_rtd_theme' 'xmlto')
options=('!strip')
source=(
- "git+https://gitlab.archlinux.org/dvzrv/linux-rt-lts.git/#tag=v${pkgver}?signed"
+ "https://gitlab.archlinux.org/dvzrv/linux-rt-lts/-/archive/v${pkgver}/linux-rt-lts-v${pkgver}.tar.bz2"
'config'
)
sha512sums=('SKIP'
@@ -30,7 +30,7 @@ export KBUILD_BUILD_USER=$pkgbase
export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})"
prepare() {
- cd "${pkgbase}"
+ cd "${pkgbase}-v${pkgver}"
echo "Setting version..."
scripts/setlocalversion --save-scmversion
@@ -58,7 +58,7 @@ prepare() {
}
build() {
- cd "${pkgbase}"
+ cd "${pkgbase}-v${pkgver}"
make all
make htmldocs
}
@@ -70,7 +70,7 @@ _package() {
'linux-firmware: firmware images needed for some devices')
provides=(VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE)
- cd "${pkgbase}"
+ cd "${pkgbase}-v${pkgver}"
local kernver="$(<version)"
local modulesdir="$pkgdir/usr/lib/modules/$kernver"
@@ -93,7 +93,7 @@ _package-headers() {
pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"
depends=(pahole)
- cd "${pkgbase}"
+ cd "${pkgbase}-v${pkgver}"
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
echo "Installing build files..."
@@ -171,7 +171,7 @@ _package-headers() {
_package-docs() {
pkgdesc="Documentation for the $pkgdesc kernel"
- cd "${pkgbase}"
+ cd "${pkgbase}-v${pkgver}"
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
echo "Installing documentation..."