summaryrefslogtreecommitdiff
path: root/opt/numactl/MAKEPKG
blob: e0c72afa65f16c8c8e1112f08a09a99b152cd6b1 (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
#!/bin/mkpkg
# description: NUMA policy library and tools
# url: https://github.com/numactl/numactl

name=numactl
version=2.0.19
release=1
depends=()
makedeps=(cmake)
source=(https://github.com/numactl/numactl/releases/download/v$version/numactl-$version.tar.gz)

sha256sums=(
    "f2672a0381cb59196e9c246bf8bcc43d5568bc457700a697f1a1df762b9af884"
)

build() {
    cd numactl-$version

    ./configure \
        --prefix=/usr \
        --libdir=/usr/lib

    make -j$(nproc)
    make DESTDIR=$PKG install
}

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

# vim: filetype=sh