summaryrefslogtreecommitdiff
path: root/opt/dmidecode/MAKEPKG
blob: 402dede2282e66289dbfdb4a497a3548ac21c0b2 (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
#!/bin/mkpkg
# description: DMI table decoder - reads BIOS/SMBIOS hardware information
# url: https://www.nongnu.org/dmidecode/

name=dmidecode
version=3.7
release=1
depends=()
makedeps=()
source=(https://download.savannah.gnu.org/releases/dmidecode/dmidecode-$version.tar.xz)

sha256sums=(
    "2c3aed12c85a1e6a9410d406d5e417c455466dc1bc7c89278bb32cf7cad91e8a"
)

build() {
    cd dmidecode-$version
    make CC=clang prefix=/usr
    make CC=clang prefix=/usr DESTDIR=$PKG install
    rm -rf $PKG/usr/share/doc
}

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

# vim: filetype=sh