summaryrefslogtreecommitdiff
path: root/libs/libpng/MAKEPKG
blob: 7ac56742b9b9578831e430f111660ec06c7693bc (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
#!/bin/mkpkg
# description: PNG image format library
# url: http://www.libpng.org/

name=libpng
version=1.6.58
release=1
depends=(zlib)
source=(https://download.sourceforge.net/$name/$name-$version.tar.xz)

sha256sums=(
    "28eb403f51f0f7405249132cecfe82ea5c0ef97f1b32c5a65828814ae0d34775"
)

build() {
    cd $name-$version
    
    ./configure \
        --prefix=/usr \
        --disable-static
    
    make
    make DESTDIR=$PKG install
    
    rm -f $PKG/usr/lib/*.la
}

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

# vim: filetype=sh