summaryrefslogtreecommitdiff
path: root/libs/expat/MAKEPKG
blob: 2d950b7b66855b80292151cbd882d0d0fd5a49db (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
#!/bin/mkpkg
# description: XML parser library
# url: https://libexpat.github.io/

name=expat
version=2.8.5
release=1
_tag=2_8_5
source=(https://github.com/libexpat/libexpat/releases/download/R_$_tag/$name-$version.tar.xz)

sha256sums=(
    "1e727b8933ec51a77a9a9d9afcf8e688bce45d907c13e36ab7393fe36e703182"
)

build() {
    cd $name-$version
    ./configure \
        --prefix=/usr \
        --disable-static \
        --without-docbook \
        --without-examples \
        --without-tests
    make
    make DESTDIR=$PKG install

    rm -rf $PKG/usr/lib/cmake
    rm -rf $PKG/usr/share/doc
}

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

# vim: filetype=sh