From 52f4c08c1ca1e2d66e3e990695a02281b4535f38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Sun, 21 Nov 2021 11:28:57 -0300 Subject: [PATCH] New package: libhomfly-1.02r6 --- common/shlibs | 1 + srcpkgs/libhomfly-devel | 1 + srcpkgs/libhomfly/template | 26 ++++++++++++++++++++++++++ srcpkgs/libhomfly/update | 1 + 4 files changed, 29 insertions(+) create mode 120000 srcpkgs/libhomfly-devel create mode 100644 srcpkgs/libhomfly/template create mode 100644 srcpkgs/libhomfly/update diff --git a/common/shlibs b/common/shlibs index 5a152423f4..00d8a6cb0d 100644 --- a/common/shlibs +++ b/common/shlibs @@ -4040,6 +4040,7 @@ libmariadb.so.3 libmariadbclient-10.5.9_1 libmariadbd.so.19 libmariadbclient-10.5.9_1 libinstpatch-1.0.so.2 libinstpatch-1.1.6_1 libbasu.so.0 basu-0.2.0_1 +libhomfly.so.0 libhomfly-1.02r6_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 diff --git a/srcpkgs/libhomfly-devel b/srcpkgs/libhomfly-devel new file mode 120000 index 0000000000..5996d0c9fa --- /dev/null +++ b/srcpkgs/libhomfly-devel @@ -0,0 +1 @@ +libhomfly \ No newline at end of file diff --git a/srcpkgs/libhomfly/template b/srcpkgs/libhomfly/template new file mode 100644 index 0000000000..d134edd652 --- /dev/null +++ b/srcpkgs/libhomfly/template @@ -0,0 +1,26 @@ +# Template file for 'libhomfly' +pkgname=libhomfly +version=1.02r6 +revision=1 +build_style=gnu-configure +makedepends="gc-devel" +short_desc="Library to compute the homfly polynomial of knots and links" +maintainer="Gonzalo TornarĂ­a " +license="custom:unlicense" +homepage="https://github.com/miguelmarco/libhomfly/" +distfiles="https://github.com/miguelmarco/libhomfly/releases/download/${version}/libhomfly-${version}.tar.gz" +checksum=f990d991d29a590c54b09eff68bc209c4cf2b8b12d945351688d2db8a0d30979 + +post_install() { + vlicense LICENSE +} + +libhomfly-devel_package() { + depends="${sourcepkg}>=${version}_${revision} ${makedepends}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + } +} diff --git a/srcpkgs/libhomfly/update b/srcpkgs/libhomfly/update new file mode 100644 index 0000000000..78d17e3361 --- /dev/null +++ b/srcpkgs/libhomfly/update @@ -0,0 +1 @@ +pattern='/archive/refs/tags/\K[\d.r]+(?=\.tar\.gz")'