diff options
-rw-r--r-- | .SRCINFO | 15 | ||||
-rwxr-xr-x | .gitignore | 6 | ||||
-rw-r--r-- | PKGBUILD | 33 |
3 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..9b1c6ba4de8f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = gitgudcli-git + pkgdesc = Brings pokemon to the terminal using the power of cowsay. + pkgver = 1.0.1 + pkgrel = 1 + url = https://github.com/HRKings/GitGudCLI.git + arch = any + license = unknown + makedepends = git + makedepends = dotnet-sdk + provides = gitgudcli + options = !strip + source = git+https://github.com/HRKings/GitGudCLI.git + md5sums = SKIP + +pkgname = gitgudcli-git diff --git a/.gitignore b/.gitignore new file mode 100755 index 000000000000..0271c7a238ea --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +GitGudCLI/ +*.pkg.tar.* +src/ +srcdir/ +pkg/ +pkgdir/ 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 |