summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHelton Reis2021-06-03 16:52:02 -0300
committerHelton Reis2021-06-03 16:52:02 -0300
commit988c47827e8d9330632119bdf923f2ee43b13de3 (patch)
tree07ac201a81531ad3d6ba19824e4f10d0f86e0814
downloadaur-988c47827e8d9330632119bdf923f2ee43b13de3.tar.gz
[misc] Initial commit
-rw-r--r--.SRCINFO15
-rwxr-xr-x.gitignore6
-rw-r--r--PKGBUILD33
3 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9b1c6ba4de8
--- /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 00000000000..0271c7a238e
--- /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 00000000000..8fdd829e5c1
--- /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