29 lines
832 B
Bash
29 lines
832 B
Bash
# Template file for 'libunarr'
|
|
pkgname=libunarr
|
|
version=1.0.1
|
|
revision=1
|
|
wrksrc="unarr-${version}"
|
|
build_style=cmake
|
|
makedepends="zlib-devel bzip2-devel liblzma-devel"
|
|
short_desc="A decompression library for rar, tar and zip archives"
|
|
maintainer="criw <contact@thecriw.com>"
|
|
license="LGPL-3.0-or-later"
|
|
homepage="https://github.com/selmf/unarr"
|
|
changelog="https://raw.githubusercontent.com/selmf/unarr/master/CHANGELOG.md"
|
|
distfiles="${homepage}/releases/download/v${version}/unarr-${version}.tar.xz"
|
|
checksum=54935b1eb30b9a50305f64d38403dab5d2a83e637f48b2b0b118246e260065b5
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
libunarr-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove /usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|