void-packages/srcpkgs/xz/template
2021-08-22 16:38:22 +07:00

33 lines
841 B
Bash

# Template file for 'xz'
pkgname=xz
version=5.2.5
revision=2
bootstrap=yes
build_style=gnu-configure
short_desc="XZ compression utilities"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="Public Domain, GPL-2.0-or-later, GPL-3.0-or-later, LGPL-2.1-or-later"
homepage="https://tukaani.org/xz"
distfiles="https://tukaani.org/xz/xz-${version}.tar.bz2"
checksum=5117f930900b341493827d63aa910ff5e011e0b994197c3b71c08a20228a42df
post_install() {
rm -r ${DESTDIR}/usr/share/doc
}
liblzma_package() {
short_desc="XZ-format compression library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
liblzma-devel_package() {
depends="liblzma>=${version}_${revision}"
short_desc="XZ-format compression library - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}