New comment by motorto on void-packages repository https://github.com/void-linux/void-packages/pull/24371#issuecomment-684771400 Comment: ``` diff --git a/srcpkgs/pari-seadata-big/template b/srcpkgs/pari-seadata-big/template deleted file mode 100644 index b681dd1e11..0000000000 --- a/srcpkgs/pari-seadata-big/template +++ /dev/null @@ -1,17 +0,0 @@ -# Template file for 'pari-seadata-big' -pkgname=pari-seadata-big -version=20170418 -revision=1 -create_wrksrc=yes -depends="pari" -short_desc="PARI/GP package needed by ellap for large primes up to 1100 bits" -maintainer="André Cerqueira " -license="GPL-3.0-or-later" -homepage="http://pari.math.u-bordeaux.fr/packages.html" -distfiles="https://pari.math.u-bordeaux.fr/pub/pari/packages/seadata-big.tar" -checksum=7c4db2624808a5bbd2ba00f8b644a439f0508532efd680a247610fdd5822a5f2 - -do_install() { - vmkdir usr/share/pari - vcopy data/seadata usr/share/pari -} diff --git a/srcpkgs/pari-seadata/template b/srcpkgs/pari-seadata/template index 7dda924deb..1324d798a0 100644 --- a/srcpkgs/pari-seadata/template +++ b/srcpkgs/pari-seadata/template @@ -15,3 +15,14 @@ do_install() { vmkdir usr/share/pari/seadata vcopy "data/seadata/sea???" usr/share/pari/seadata } + +pari-seadata-big_package() { + distfiles="https://pari.math.u-bordeaux.fr/pub/pari/packages/seadata-big.tar" + checksum=7c4db2624808a5bbd2ba00f8b644a439f0508532efd680a247610fdd5822a5f2 + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmkdir usr/share/pari + vcopy data/seadata usr/share/pari + } +} ``` So far have done this. I am still not sure if the subpackages can have distfiles. But I can't create the symbolic link on my local machine. `ln -s srcpkgs/pari-seadata srcpkgs/pari-seadata-big` Isn't this the way to create symbolic links ?