summaryrefslogtreecommitdiff
path: root/core/kmod/MAKEPKG
blob: 5bf495ed01cf4f11ae778a735c5893e3a5ca5129 (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
#!/bin/mkpkg
# description: Kernel module utilities and library
# url: https://git.kernel.org/?p=utils/kernel/kmod/kmod.git

name=kmod
version=34.2
release=1
makedeps=(autoconf automake libtool xz zlib zstd)
source=(https://www.kernel.org/pub/linux/utils/kernel/$name/$name-$version.tar.xz)

sha256sums=(
    "5a5d5073070cc7e0c7a7a3c6ec2a0e1780850c8b47b3e3892226b93ffcb9cb54"
)

build() {
    cd $name-$version
    ./configure \
        --prefix=/ \
        --disable-manpages \
        --with-zlib \
        --with-xz \
        --with-zstd \
        --with-bashcompletiondir=no \
        --with-fishcompletiondir=no \
        --with-zshcompletiondir=no
    make
    DESTDIR=$PKG make install
    rm -rf $PKG/share
    rm -f $PKG/lib/libkmod.la
}

signify() {
    untrusted comment: public key
    RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}

# vim: filetype=sh