[sbopkg-users] [SOLVED] Using sbopkg with Slackbuilds that pull tarballs from Github, Sourcehut, etc.
Matthew Graybosch
hello at matthewgraybosch.com
Tue Jun 9 19:16:02 UTC 2020
On Tue, 9 Jun 2020 14:24:27 -0400
B Watson <yalhcru at gmail.com> wrote:
> Hi, welcome to the mailing list. This ended up longer than I expected,
> but hopefully it's helpful.
Very much so. Thank you.
> Another way to do it:
>
> if [ -e $CWD/$VERSION.tar.gz ]; then
> TARBALL=$CWD/$VERSION.tar.gz
> else
> TARBALL=$CWD/$PRGNAM-$VERSION.tar.gz
> fi
>
> tar xvf $TARBALL
> cd $PRGNAM-$VERSION # etc etc.
Hard to believe I didn't even think about adjusting my slackbuild. I'll
probably start doing this for every slackbuild I write. Thanks again!
--
Matthew Graybosch https://www.matthewgraybosch.com
#include <disclaimer.h> gemini://starbreaker.org
Harrisburg,PA gemini://demifiend.org
"Out of order?! Even in the future nothing works."
More information about the sbopkg-users
mailing list