From 3cfe6092c3afa2d3148a18dd868ce98ef76f64d2 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 | 36 ++++++++++++++++++++++++++++++++++++ srcpkgs/liblhasa | 1 + srcpkgs/liblhasa-devel | 1 + 4 files changed, 39 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 7b007a129e17..c28aeb369cb8 100644 --- a/common/shlibs +++ b/common/shlibs @@ -4012,3 +4012,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..1028c5a39a73 --- /dev/null +++ b/srcpkgs/lhasa/template @@ -0,0 +1,36 @@ +# Template file for 'lhasa' +pkgname=lhasa +version=0.3.1 +revision=1 +build_style=gnu-configure +hostmakedepends="automake libtool" +depends="liblhasa>=${version}_${revision}" +checkdepends="tzdata" +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