Commit 9cd6129a authored by Natanael Copa's avatar Natanael Copa

main/libpng: upgrade to 1.2.40

parent 371a925a
# Contributor: Carlo Landmeter <clandmeter at gmail>
# Maintainer: Carlo Landmeter <clandmeter at gmail>
pkgname=libpng
pkgver=1.2.39
pkgver=1.2.40
pkgrel=0
pkgdesc="Portable Network Graphics library"
url="http://www.libpng.org/"
......@@ -14,14 +14,17 @@ source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
depends_dev="zlib-dev"
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info
make || return 1
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE || return 1
}
md5sums="ddfeaf19b690985910c42e41974e8d65 libpng-1.2.39.tar.gz"
md5sums="a2f6808735bf404967f81519a967fb2a libpng-1.2.40.tar.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment