diff options
author | Zeioth | 2023-03-22 20:21:35 +0100 |
---|---|---|
committer | Zeioth | 2023-03-22 20:21:35 +0100 |
commit | 5a2511bd666bfaee5741a9a753e510605c822750 (patch) | |
tree | 27125bd4e837a71d00661627f0edd8f94eedb75d | |
parent | e546c427d91061c19cf6c35fef5d604867bccd27 (diff) | |
download | aur-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-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -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 @@ -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" } |