35 lines
871 B
Bash
35 lines
871 B
Bash
# Template file for 'libunshield'
|
|
pkgname=unshield
|
|
version=1.4.2
|
|
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=5dd4ea0c7e97ad8e3677ff3a254b116df08a5d041c2df8859aad5c4f88d1f774
|
|
|
|
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
|
|
}
|