29 lines
776 B
Bash
29 lines
776 B
Bash
# Template file for 'libdeflate'
|
|
pkgname=libdeflate
|
|
version=1.10
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
make_build_args="PROG_SUFFIX=libdeflate"
|
|
checkdepends="zlib-devel"
|
|
short_desc="Optimized library for DEFLATE/zlib/gzip (de)compression"
|
|
maintainer="mobinmob <mobinmob@disroot.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/ebiggers/libdeflate"
|
|
distfiles="https://github.com/ebiggers/libdeflate/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=5c1f75c285cd87202226f4de49985dcb75732f527eefba2b3ddd70a8865f2533
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
libdeflate-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove "/usr/lib/pkgconfig"
|
|
}
|
|
}
|