Log in New API Help About

1.7 KB of Diff
Created 7 months, 2 weeks ago — expires in 140 days
https://dpaste.com/CDV9FGBGJ
SOFT WRAP RAW TEXT DUPLICATE DIFF
diff --git a/PKGBUILD b/PKGBUILD
index 3dae489..6c7a177 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#tag=v${pkgver}?signed"
+  "https://gitlab.archlinux.org/dvzrv/linux-rt/-/archive/v${PKGVER}/linux-rt-v${pkgver}.tar.gz"
   config
   sphinx-workaround.patch
 )
@@ -33,7 +33,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
@@ -61,7 +61,7 @@ prepare() {
 }

 build() {
-  cd "${pkgbase}"
+  cd "${pkgbase}-v${pkgver}"
   make all
 }

@@ -72,7 +72,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"

@@ -94,7 +94,7 @@ _package() {
 _package-headers() {
   pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"

-  cd "${pkgbase}"
+  cd "${pkgbase}-v${pkgver}"
   local builddir="$pkgdir/usr/lib/modules/$(<version)/build"

   echo "Installing build files..."
@@ -172,7 +172,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..."