APKBUILD 735 B

12345678910111213141516171819202122232425262728
  1. # Contributor: sick <sick@rape.lol>
  2. # Maintainer: sick <sick@rape.lol>
  3. pkgname=libz
  4. pkgver=1.2.8
  5. pkgrel=0
  6. pkgdesc="A general purpose data compression library"
  7. url="https://sortix.org/libz/"
  8. arch="all"
  9. license="zlib"
  10. depends=""
  11. makedepends="$depedends"
  12. subpackages="$pkgname-dev $pkgname-doc"
  13. source="https://sortix.org/libz/release/$pkgname-$pkgver.2015.12.26.tar.gz"
  14. builddir="$srcdir/$pkgname-$pkgver.2015.12.26"
  15. build() {
  16. cd "$builddir"
  17. ./configure --prefix=/usr
  18. make || return 1
  19. }
  20. package() {
  21. cd "$builddir"
  22. make DESTDIR=$pkgdir install || return 1
  23. }
  24. sha512sums="20398a642acef402d59301dbffb7c1864d28214f8dddcb5403ae50071b1ebd3c0dc1df5b0e567443ad3813ba9d11bd0da1eeb36db3dcafc48f098a6dd6cd5a54 libz-1.2.8.2015.12.26.tar.gz"