35 lines
907 B
Bash
35 lines
907 B
Bash
# Template file for 'xz'
|
|
pkgname=xz
|
|
version=5.4.1
|
|
revision=1
|
|
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"
|
|
changelog="https://git.tukaani.org/?p=xz.git;a=blob_plain;f=NEWS"
|
|
distfiles="https://tukaani.org/xz/xz-${version}.tar.bz2"
|
|
checksum=dd172acb53867a68012f94c17389401b2f274a1aa5ae8f84cbfb8b7e383ea8d3
|
|
|
|
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
|
|
}
|
|
}
|