template 823 B

12345678910111213141516171819202122232425262728
  1. # Template file for 'StormLib'
  2. pkgname=StormLib
  3. version=9.24
  4. revision=1
  5. build_style=cmake
  6. configure_args="-DBUILD_SHARED_LIBS=ON -DWITH_LIBTOMCRYPT=ON"
  7. hostmakedepends="pkg-config"
  8. makedepends="bzip2-devel zlib-devel libtomcrypt-devel libtommath-devel"
  9. short_desc="C/C++ API to read and write MPQ files with support for merged archives"
  10. maintainer="MarcoAPC <marcoaureliopc@gmail.com>"
  11. license="MIT"
  12. homepage="https://github.com/ladislav-zezula/StormLib"
  13. distfiles="https://github.com/ladislav-zezula/StormLib/archive/v${version}.tar.gz"
  14. checksum=33e43788f53a9f36ff107a501caaa744fd239f38bb5c6d6af2c845b87c8a2ee1
  15. post_install() {
  16. vlicense LICENSE
  17. }
  18. StormLib-devel_package() {
  19. short_desc+=" - development files"
  20. depends="StormLib>=${version}_${revision}"
  21. pkg_install() {
  22. vmove usr/include
  23. vmove "usr/lib/*.so"
  24. }
  25. }