update to 12.4-systemd: kmod-34.2
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
pkgname=kmod
|
||||
pkgver=34.2
|
||||
pkgdesc="Linux kernel module management tools and library"
|
||||
arch=('x86_64')
|
||||
homepage='https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git'
|
||||
license=('LGPL-2.1-or-later' 'GPL-2.0-or-later')
|
||||
sources=("${pkgname}-${pkgver}.tar.xz")
|
||||
urls=("https://www.kernel.org/pub/linux/utils/kernel/${pkgname}/${sources[0]}")
|
||||
md5sums=("36f2cc483745e81ede3406fa55e1065a")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
mkdir -p build
|
||||
cd build
|
||||
meson setup --prefix=/usr .. \
|
||||
--sbindir=/usr/sbin \
|
||||
--buildtype=release \
|
||||
-D manpages=false
|
||||
ninja
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DESTDIR=${pkgdir} ninja install
|
||||
}
|
||||
Reference in New Issue
Block a user