diff --git a/main/ghq/build b/main/ghq/build new file mode 100644 index 0000000..6aed45d --- /dev/null +++ b/main/ghq/build @@ -0,0 +1,16 @@ +# Maintainer: earnest ma +name=ghq +version=1.2.1 +rev=0 +type=file +url="https://github.com/x-motemen/ghq" +description="Remote repository management made easy" + +source="https://github.com/x-motemen/ghq/releases/download/v${version}/ghq_linux_amd64.zip" + +sha512sums="24fd3ffb69bf5b47fa0b985490453029a96da1b79110042f41027f9ee4714a61ca007c9b451fc573985901f9eee2416b9e4e6c65728a67f4fc285b068aec0e88 ghq_linux_amd64.zip" + +steps(){ + unzip -q ghq_*.zip + cin-bin ghq_linux_amd64/ghq $builddir/usr/bin/ghq +}