summaryrefslogtreecommitdiff
path: root/devel/pkgconf/MAKEPKG
blob: 93e60df08773e3407e38eac2acbe650832ffdcbd (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
#!/bin/mkpkg
# description: A system for managing library compile/link flags
# url: https://github.com/pkgconf/pkgconf

name=pkgconf
version=3.0.7
release=1
source=(https://distfiles.ariadne.space/pkgconf/pkgconf-$version.tar.xz)
sha256sums=(
    "c926ff491cbd9a331a589160811bd97ab1749b4d5198a519338f2cdfabe6940a"
)

build() {
    cd $name-$version
    
    ./configure \
        --prefix=/usr \
        --disable-static
    
    make
    make DESTDIR=$PKG install
    
    # pkg-config compatibility symlink
    ln -sf pkgconf $PKG/usr/bin/pkg-config
    
    rm -rf $PKG/usr/share/doc
}

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

# vim: filetype=sh