diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8fdd829e5c1d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: HRKings <hrkings@***.com> +pkgname=gitgudcli-git +_pkgname=GitGudCLI +pkgver=1.0.1 +pkgrel=1 +pkgdesc="Brings pokemon to the terminal using the power of cowsay." +arch=(any) +url="https://github.com/HRKings/GitGudCLI.git" +license=('unknown') +makedepends=('git' 'dotnet-sdk') +provides=(gitgudcli) +source=("git+${url}") +md5sums=('SKIP') +options=(!strip) + +package() { + cd ${_pkgname} + + # Move to the stable branch + git checkout stable + + # Install the README + install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md" + + # Cd into project + cd ${_pkgname} + + # Compile with all the flags + dotnet publish -c Release -r linux-x64 --self-contained true -p:PublishSingleFile=true -p:PublishReadyToRun=true -o ./compiled + + # Install the CLI + install -Dm755 ./compiled/GitGudCLI "${pkgdir}"/usr/bin/gitgud +}
\ No newline at end of file |