diff options
Diffstat (limited to 'main/libpng/APKBUILD')
-rw-r--r-- | main/libpng/APKBUILD | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/main/libpng/APKBUILD b/main/libpng/APKBUILD index c781720abe..2cea1e5897 100644 --- a/main/libpng/APKBUILD +++ b/main/libpng/APKBUILD @@ -1,7 +1,7 @@ # 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" |