This commit is contained in:
joborun linux 2023-09-30 10:31:53 +03:00
parent 48a19b2fb2
commit 9a886dc07b
2 changed files with 18 additions and 26 deletions

View file

@ -6,10 +6,9 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=kmod
pkgver=30
pkgrel=03
pkgver=31
pkgrel=01
pkgdesc="Linux kernel module management tools and library"
arch=('x86_64')
url='https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git'
depends=('glibc' 'zlib' 'openssl' 'xz')
checkdepends=('linux-lts-headers' 'libelf')
@ -18,7 +17,7 @@ options=(strip)
provides=('module-init-tools=3.16' 'libkmod.so') conflicts=('module-init-tools')
replaces=('module-init-tools')
source=("https://www.kernel.org/pub/linux/utils/kernel/$pkgname/$pkgname-$pkgver.tar."{xz,sign}
'0001-master.patch'
# '0001-master.patch'
'depmod-search.conf'
'depmod.hook'
'depmod.script')
@ -26,7 +25,7 @@ source=("https://www.kernel.org/pub/linux/utils/kernel/$pkgname/$pkgname-$pkgver
prepare() {
cd "$pkgname-$pkgver"
patch -Np1 < ../0001-master.patch
# patch -Np1 < ../0001-master.patch
}
build() {
@ -78,17 +77,19 @@ package() {
install -Dm755 "$srcdir/depmod.script" "$pkgdir/usr/share/libalpm/scripts/depmod"
}
#---- license gpg-key sha256sums ----
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('GPL2')
validpgpkeys=('EAB33C9690013C733916AC839BA2A5A630CBEA53') # Lucas DeMarchi
sha256sums=(f897dd72698dc6ac1ef03255cd0a5734ad932318e4adbaebc7338ef2f5202f9f # kmod-30.tar.xz
4d92eeeb891374bcd1ac61de3868ab04e7057549e971348f18f73c2a525dfd07 # kmod-30.tar.sign
99a02347c809307675a9a643ec34704ec5289b754d53dd4d319b32849b299c60 # 0001-master.patch
1a92bfeae870f61ce814577e69d2a147a9c0caf6aed1131243e4179241fcc4a8 # depmod-search.conf
c11c2a0f66ea405493e8617689ca10818dc81dd1dddc19bdb220c8b2917119c1 # depmod.hook
sha256sums=(f5a6949043cc72c001b728d8c218609c5a15f3c33d75614b78c79418fcf00d80 # kmod-31.tar.xz
c5e1e47b83cc41faa3db3010b1333e36a5d32bada316796b8b283bd616e9c73e # kmod-31.tar.sign
# 99a02347c809307675a9a643ec34704ec5289b754d53dd4d319b32849b299c60 # 0001-master.patch
1a92bfeae870f61ce814577e69d2a147a9c0caf6aed1131243e4179241fcc4a8 # depmod-search.conf
c11c2a0f66ea405493e8617689ca10818dc81dd1dddc19bdb220c8b2917119c1 # depmod.hook
d2cd04a09feba30e1376144a8110ec7521892acb0940c3c4ba459aeecf0452ed) # depmod.script
## 6a3ea39c0455cd6f9f32c158acffb6f0c465ea41064b704fec7c83f0831d3e28 kmod-31-01-x86_64.pkg.tar.lz

View file

@ -1,43 +1,34 @@
# Maintainer: Dave Reisner <dreisner@archlinux.org>
pkgname=kmod
pkgver=30
pkgrel=3
pkgver=31
pkgrel=1
pkgdesc="Linux kernel module management tools and library"
arch=('x86_64')
url='https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git'
license=('GPL2')
depends=('glibc' 'zlib' 'openssl' 'xz' 'zstd')
checkdepends=('linux-headers' 'libelf')
options=('strip' 'debug')
options=('strip')
provides=('module-init-tools=3.16' 'libkmod.so')
conflicts=('module-init-tools')
replaces=('module-init-tools')
validpgpkeys=('EAB33C9690013C733916AC839BA2A5A630CBEA53') # Lucas DeMarchi
source=("https://www.kernel.org/pub/linux/utils/kernel/$pkgname/$pkgname-$pkgver.tar."{xz,sign}
'0001-master.patch'
'depmod-search.conf'
'depmod.hook'
'depmod.script')
md5sums=('85202f0740a75eb52f2163c776f9b564'
md5sums=('6165867e1836d51795a11ea4762ff66a'
'SKIP'
'109042785e725717fe6a6d545c51a090'
'dd62cbf62bd8f212f51ef8c43bec9a77'
'e179ace75721e92b04b2e145b69dab29'
'b00253ca0d4ebfb2414e4596597bdebd')
sha256sums=('f897dd72698dc6ac1ef03255cd0a5734ad932318e4adbaebc7338ef2f5202f9f'
sha256sums=('f5a6949043cc72c001b728d8c218609c5a15f3c33d75614b78c79418fcf00d80'
'SKIP'
'99a02347c809307675a9a643ec34704ec5289b754d53dd4d319b32849b299c60'
'1a92bfeae870f61ce814577e69d2a147a9c0caf6aed1131243e4179241fcc4a8'
'c11c2a0f66ea405493e8617689ca10818dc81dd1dddc19bdb220c8b2917119c1'
'd2cd04a09feba30e1376144a8110ec7521892acb0940c3c4ba459aeecf0452ed')
prepare() {
cd "$pkgname-$pkgver"
patch -Np1 < ../0001-master.patch
}
build() {
cd "$pkgname-$pkgver"