summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorZeioth2023-03-22 20:21:35 +0100
committerZeioth2023-03-22 20:21:35 +0100
commit5a2511bd666bfaee5741a9a753e510605c822750 (patch)
tree27125bd4e837a71d00661627f0edd8f94eedb75d
parente546c427d91061c19cf6c35fef5d604867bccd27 (diff)
downloadaur-5a2511bd666bfaee5741a9a753e510605c822750.tar.gz
Now we install on /usr/bin
As specified on the arch guidelines: https://wiki.archlinux.org/title/Arch_package_guidelines#Directories
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9b87b8e87b70..1c7505dd2cff 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = chatgpt-shell-cli
pkgdesc = Use OpenAI's ChatGPT and DALL-E from the terminal.
pkgver = 0.1
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/0xacx/chatGPT-shell-cli.git
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index ada004ac4bb4..e17e1bf29249 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Adrian Lopez <zeioth@hotmail.com>
pkgname=chatgpt-shell-cli
pkgver=0.1
-pkgrel=2
+pkgrel=3
pkgdesc="Use OpenAI's ChatGPT and DALL-E from the terminal."
arch=(any)
url="https://github.com/0xacx/chatGPT-shell-cli.git"
@@ -17,6 +17,6 @@ package() {
sed -i 's/open "\${image_url}"/xdg-open "\${image_url}"/g' "${srcdir}/chatGPT-shell-cli/chatgpt.sh"
# Install
- install -Dm755 "${srcdir}/chatGPT-shell-cli/chatgpt.sh" "${pkgdir}/usr/local/bin/chatgpt"
+ install -Dm755 "${srcdir}/chatGPT-shell-cli/chatgpt.sh" "${pkgdir}/usr/bin/chatgpt"
install -Dm644 "${srcdir}/chatGPT-shell-cli/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}