summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBarbUk2023-07-12 10:48:55 +0200
committerBarbUk2023-07-12 10:48:55 +0200
commit6b0e512f1998f42a9b6f07fc337d01c713706894 (patch)
treedaaece7a11c3dc304d12e40046cea64264aa4d38
parent1ac02ea6c704fcacd72aed08c2e476f5bcc2d3d9 (diff)
downloadaur-6b0e512f1998f42a9b6f07fc337d01c713706894.tar.gz
Fix patch and bump pkgrel
-rw-r--r--.SRCINFO2
-rw-r--r--.gitignore3
-rw-r--r--PKGBUILD4
3 files changed, 6 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 33fb2a519240..f2ed36bf8202 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = tp_smapi-dkms
pkgdesc = DKMS controlled modules for ThinkPad's SMAPI functionality
pkgver = 0.43
- pkgrel = 5
+ pkgrel = 6
url = http://www.thinkwiki.org/wiki/Tp_smapi
arch = any
license = GPL
diff --git a/.gitignore b/.gitignore
index 39df43b70229..a351a60bde5f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,5 @@
*.tgz
*.tar.gz
+*.pkg.tar.zst
+pkg/
+src/
diff --git a/PKGBUILD b/PKGBUILD
index 80f2fc157d6e..ab950b95f1dd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=tp_smapi-dkms
pkgver=0.43
-pkgrel=5
+pkgrel=6
pkgdesc="DKMS controlled modules for ThinkPad's SMAPI functionality"
arch=(any)
url="http://www.thinkwiki.org/wiki/Tp_smapi"
@@ -23,7 +23,7 @@ prepare() {
# patch Makefile for recent kernel module directory change
patch -p2 < "${srcdir}"/kbase.patch
# Patch for recent kernel
- patch -p2 < "${srcdir}"/update_define_semaphore_usage_for_linux_6.4.patch
+ patch -p1 < "${srcdir}"/update_define_semaphore_usage_for_linux_6.4.patch
msg2 "Patching dkms.conf"
sed -ri 's/^(PACKAGE_VERSION=).*/\1'${pkgver}'/g' "${srcdir}"/dkms.conf
}