blob: c49da261407e8b97194663d9d435cf7e70af69b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# Maintainer : Vincent Grande <shoober420@gmail.com>
# Contributor : Eric Vidal <eric@obarun.org>
# Contributor : Jean-Michel T.Dydak <jean-michel@obarun.org>
#----------------
# Website : https://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary
#-----------------------------------------------------------------------------------------------
pkgname=lib32-kmod-minimal-git
pkgver=28
pkgrel=1
pkgdesc="Linux kernel module handling"
arch=('x86_64')
url="https://www.kernel.org/pub/linux/utils/kernel/kmod"
license=('GPL2')
source=("git+https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git")
options=('!libtool')
depends=(
'lib32-zlib'
'lib32-xz')
makedepends=(
'lib32-gcc-libs'
'gcc-multilib')
provides=(lib32-kmod)
conflicts=(lib32-kmod)
#-----------------------------------------------------------------------------------------------
build() {
export CC="gcc -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
cd kmod
./autogen.sh
./configure \
--libdir=/usr/lib32 \
--sysconfdir=/etc \
--disable-tools \
--with-zlib \
--with-xz \
--disable-logging \
--disable-debug \
--disable-gtk-doc
make
}
package() {
cd kmod
make DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}"/usr/{share,include,bin}
}
#-----------------------------------------------------------------------------------------------
#validpgpkeys=('EAB33C9690013C733916AC839BA2A5A630CBEA53' # Lucas DeMarchi
sha512sums=('SKIP')
|