diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-07-09 11:18:43 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-07-09 13:04:26 +0000 |
commit | 545b4b8a52221b8a489bd9e255d975552cfa9946 (patch) | |
tree | c0c01e3b1e2342c3c1e6c060537b4bbf98467b19 /main/zlib | |
parent | 2c01afc831996efed05a7d50c872b346406b74f7 (diff) | |
download | aports-545b4b8a52221b8a489bd9e255d975552cfa9946.tar.bz2 aports-545b4b8a52221b8a489bd9e255d975552cfa9946.tar.xz |
main/zlib: support newer abuild
which will move /lib/*.a to -dev subpackage for us
Diffstat (limited to 'main/zlib')
-rw-r--r-- | main/zlib/APKBUILD | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/main/zlib/APKBUILD b/main/zlib/APKBUILD index 622a36d9bc..4d521dcaca 100644 --- a/main/zlib/APKBUILD +++ b/main/zlib/APKBUILD @@ -34,7 +34,10 @@ package() { dev() { default_dev mkdir -p "$subpkgdir"/lib - mv "$pkgdir"/lib/libz.a "$subpkgdir"/lib/libz.a + # newer abuild might do this for us + if [ -f "$pkgdir"/libz.a ]; then + mv "$pkgdir"/lib/libz.a "$subpkgdir"/lib/libz.a + fi } md5sums="44d667c142d7cda120332623eab69f40 zlib-1.2.8.tar.gz" |