# dasel/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. The source tarball used by this package was created as follows. Internet access and external websites were required. This procedure may or may not work in the future. #!/bin/bash -e set -e LOCALNAME=dasel DATE6D=240817 GITURL=https://github.com/TomWright/dasel.git COMMIT=v2.8.1 HERE=`pwd` DIR=$LOCALNAME-$DATE6D rm -fr $DIR $DIR.tar.bz2 mkdir $DIR cd $DIR export HOME=`pwd` export GOPATH=$HOME/go git clone $GITURL $LOCALNAME cd $LOCALNAME if [ "@$COMMIT" == "@" ]; then echo Using latest git commit else echo Using git commit $COMMIT git checkout $COMMIT fi cd cmd/dasel go build rm -fr dasel rm -fr $HOME/.cache cd $HERE tar jcf $DIR.tar.bz2 $DIR/ rm -fr $DIR ls -l $DIR.tar.bz2 #--------------------------------------------------------------------- [buildtimes] #--------------------------------------------------------------------- [settings] altpkg = yes configure = none exepack = yes strip = yes tmpsize = 84M #--------------------------------------------------------------------- [depends] go #--------------------------------------------------------------------- [build] BINDIR=$PKGDIR_PROD/bin mkdir $BINDIR LOCALNAME=dasel export HOME=`pwd` export GOPATH=$HOME/go cd $LOCALNAME/cmd/dasel go build mv dasel $BINDIR/$LOCALNAME #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = tbd url_home = tbd url_lfs = tbd url_tarball = special # See "technotes" in "cfg" file #--------------------------------------------------------------------- [history] 240817 Added package 240817 Started with 240817 - same as 2.8.1