From 6124f798aecbcf34667bb9ed54e6ce9050fd810f Mon Sep 17 00:00:00 2001 From: Hill Ma Date: Sat, 19 Jun 2021 11:50:07 -0700 Subject: [PATCH] New package: lhasa-0.3.1 --- common/shlibs | 1 + srcpkgs/lhasa/template | 35 +++++++++++++++++++++++++++++++++++ srcpkgs/liblhasa | 1 + srcpkgs/liblhasa-devel | 1 + 4 files changed, 38 insertions(+) create mode 100644 srcpkgs/lhasa/template create mode 120000 srcpkgs/liblhasa create mode 120000 srcpkgs/liblhasa-devel diff --git a/common/shlibs b/common/shlibs index 71d099465be5..fa8ddd38aee6 100644 --- a/common/shlibs +++ b/common/shlibs @@ -4013,3 +4013,4 @@ libbasu.so.0 basu-0.2.0_1 libXcomp.so.3 nx-libs-3.5.99.24_1 libXcompshad.so.3 nx-libs-3.5.99.24_1 libNX_X11.so.6 nx-libs-3.5.99.24_1 +liblhasa.so.0 liblhasa-0.3.1_1 diff --git a/srcpkgs/lhasa/template b/srcpkgs/lhasa/template new file mode 100644 index 000000000000..f35535737f6f --- /dev/null +++ b/srcpkgs/lhasa/template @@ -0,0 +1,35 @@ +# Template file for 'lhasa' +pkgname=lhasa +version=0.3.1 +revision=1 +build_style=gnu-configure +hostmakedepends="automake libtool" +depends="liblhasa>=${version}_${revision}" +short_desc="Free Software LHA implementation" +maintainer="Hill Ma " +license="ISC" +homepage="https://github.com/fragglet/lhasa" +distfiles="https://github.com/fragglet/lhasa/releases/download/v${version}/lhasa-${version}.tar.gz" +checksum=3fb08e5f85a9b9dd023922896be9157d5fb5c0448424681810aaa2b0558a5f24 + +post_install() { + vlicense COPYING +} + +liblhasa-devel_package() { + depends="liblhasa>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + } +} + +liblhasa_package() { + short_desc+=" - library" + pkg_install() { + vmove "usr/lib/*.so.*" + } +} diff --git a/srcpkgs/liblhasa b/srcpkgs/liblhasa new file mode 120000 index 000000000000..4c0316beca1f --- /dev/null +++ b/srcpkgs/liblhasa @@ -0,0 +1 @@ +lhasa \ No newline at end of file diff --git a/srcpkgs/liblhasa-devel b/srcpkgs/liblhasa-devel new file mode 120000 index 000000000000..4c0316beca1f --- /dev/null +++ b/srcpkgs/liblhasa-devel @@ -0,0 +1 @@ +lhasa \ No newline at end of file