void-packages/srcpkgs/unshield/template
2018-10-31 13:45:20 +01:00

34 lines
866 B
Bash

# Template file for 'unshield'
pkgname=unshield
version=1.4.3
revision=1
build_style=cmake
hostmakedepends="pkg-config"
makedepends="zlib-devel libtool"
short_desc="Utility extracting CAB archives from InstallShield installers"
maintainer="John <johnz@posteo.net>"
license="MIT"
homepage="https://github.com/twogood/unshield"
distfiles="https://github.com/twogood/${pkgname}/archive/${version}.tar.gz"
checksum=aa8c978dc0eb1158d266eaddcd1852d6d71620ddfc82807fe4bf2e19022b7bab
libunshield_package() {
short_desc="Libary to extract CAB archives form InstallShield installers"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
libunshield-devel_package() {
depends="libunshield>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}
post_install() {
vlicense LICENSE
}