summaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-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..."