blob: c71433bbf4ca091309aed0b1f02c1f547c6cfade (
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
|
# Maintainer: Behnam Momeni <sbmomeni [at the] gmail [dot] com>
# Contributor: Jesse Jaara <gmail.com: jesse.jaara>
pkgname=lib32-kmod
pkgver=31
pkgrel=1
pkgdesc="Linux kernel module handling"
arch=('x86_64')
url="http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary"
license=('GPL2')
depends=('lib32-zlib' 'lib32-xz')
makedepends=('gcc-multilib')
options=('!libtool')
validpgpkeys=('EAB33C9690013C733916AC839BA2A5A630CBEA53') # Lucas DeMarchi
source=("https://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-$pkgver.tar."{xz,sign})
md5sums=('6165867e1836d51795a11ea4762ff66a'
'SKIP')
build() {
export CC="gcc -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
cd "${srcdir}/kmod-${pkgver}"
./configure \
--libdir=/usr/lib32 \
--sysconfdir=/etc \
--disable-tools \
--with-zlib \
--with-xz
make
}
package() {
cd "${srcdir}/kmod-${pkgver}"
make DESTDIR="${pkgdir}" install
# nuke manpages and headers
rm -rf "${pkgdir}"/usr/{share,include,bin}
}
|