From 8783991364e516de5054c339a52f2e49bf1b6674 Mon Sep 17 00:00:00 2001 From: John Date: Fri, 28 Apr 2017 17:16:36 +0200 Subject: [PATCH] New Package: unshield-1.4.2 --- common/shlibs | 2 ++ srcpkgs/libunshield | 1 + srcpkgs/libunshield-devel | 1 + srcpkgs/unshield/template | 34 ++++++++++++++++++++++++++++++++++ 4 files changed, 38 insertions(+) create mode 120000 srcpkgs/libunshield create mode 120000 srcpkgs/libunshield-devel create mode 100644 srcpkgs/unshield/template diff --git a/common/shlibs b/common/shlibs index 7967e0f3b71..3c9f7ef2e80 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2797,3 +2797,5 @@ libec_isa.so.2 ceph-11.2.0_1 libceph_snappy.so.2 ceph-11.2.0_1 libceph_zlib.so.2 ceph-11.2.0_1 libnss_ldap.so.2 nss-pam-ldapd-0.9.7_4 +libunshield.so.0 libunshield-0.6_1 +libMyGUIEngine.so.3 libmygui-3.2.2_1 diff --git a/srcpkgs/libunshield b/srcpkgs/libunshield new file mode 120000 index 00000000000..4c9fa71e8b6 --- /dev/null +++ b/srcpkgs/libunshield @@ -0,0 +1 @@ +unshield \ No newline at end of file diff --git a/srcpkgs/libunshield-devel b/srcpkgs/libunshield-devel new file mode 120000 index 00000000000..4c9fa71e8b6 --- /dev/null +++ b/srcpkgs/libunshield-devel @@ -0,0 +1 @@ +unshield \ No newline at end of file diff --git a/srcpkgs/unshield/template b/srcpkgs/unshield/template new file mode 100644 index 00000000000..c6c3aae314c --- /dev/null +++ b/srcpkgs/unshield/template @@ -0,0 +1,34 @@ +# 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 " +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 +}