Skip to content

Instantly share code, notes, and snippets.

@yursan9
Last active January 30, 2018 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yursan9/4977b8eb27c792da22c080d537bcadef to your computer and use it in GitHub Desktop.
Save yursan9/4977b8eb27c792da22c080d537bcadef to your computer and use it in GitHub Desktop.
A command to make new package easier for Solus Packager using Fish
alias fetchyml="$HOME/Repository/common/Scripts/yauto.py"
alias updateyml="/usr/share/ypkg/yupdate.py"
function neweopkg -a directory url -d "Create directory for new eopkg package"
mkdir $directory
if test $status = 0
cd $directory
echo "include ../Makefile.common" > Makefile
fetchyml $ur
end
end
@yursan9
Copy link
Author

yursan9 commented Jan 30, 2018

Example:

neweopkg nano url.to.nano/source.tar.gz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment