diff options
author | J0WI <J0WI@users.noreply.github.com> | 2019-08-14 16:30:49 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-08-23 07:04:31 +0000 |
commit | 374127aa9e6d4d72da68cde608590a0c5263c8a4 (patch) | |
tree | 470e9d18c596b7b16a7920a79dd2f02d41e08fc8 /main | |
parent | 0c4b2bbfef1df1a07570d452d99d4692773efd11 (diff) | |
download | aports-374127aa9e6d4d72da68cde608590a0c5263c8a4.tar.bz2 aports-374127aa9e6d4d72da68cde608590a0c5263c8a4.tar.xz |
main/zlib: modernize
Diffstat (limited to 'main')
-rw-r--r-- | main/zlib/APKBUILD | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/main/zlib/APKBUILD b/main/zlib/APKBUILD index 207f13c53a..f84a3502e5 100644 --- a/main/zlib/APKBUILD +++ b/main/zlib/APKBUILD @@ -1,19 +1,17 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=zlib pkgver=1.2.11 -pkgrel=1 +pkgrel=2 pkgdesc="A compression/decompression Library" arch="all" license="zlib" -url="http://zlib.net" -depends="" +url="https://zlib.net/" subpackages="$pkgname-dev $pkgname-doc" source="https://zlib.net/$pkgname-$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$builddir" # we trade size for a little more speed. export CFLAGS="$CFLAGS -O2" CHOST="${CHOST}" ./configure \ @@ -24,17 +22,13 @@ build() { } check() { - cd "$builddir" make check } package() { - cd "$builddir" make install \ pkgconfigdir="/usr/lib/pkgconfig" \ DESTDIR="$pkgdir" } -md5sums="1c9f62f0778697a09d36121ead88e08e zlib-1.2.11.tar.gz" -sha256sums="c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1 zlib-1.2.11.tar.gz" sha512sums="73fd3fff4adeccd4894084c15ddac89890cd10ef105dd5e1835e1e9bbb6a49ff229713bd197d203edfa17c2727700fce65a2a235f07568212d820dca88b528ae zlib-1.2.11.tar.gz" |