diff options
author | Zeioth | 2023-03-19 18:55:56 +0100 |
---|---|---|
committer | Zeioth | 2023-03-19 18:55:56 +0100 |
commit | 7595fffc5193de1d213dd4ec6b44b46c4f320705 (patch) | |
tree | ac977f1295762f9b869e2cb8caf1f006e47652f2 | |
parent | 0b535e3fc675c07773e6451c26cbbe794fcc872e (diff) | |
download | aur-7595fffc5193de1d213dd4ec6b44b46c4f320705.tar.gz |
Now we use 'install'
as pointed out by txtsd
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 3 insertions, 10 deletions
@@ -1,7 +1,7 @@ pkgbase = chatgpt-shell-cli pkgdesc = Use OpenAI's ChatGPT and DALL-E from the terminal. pkgver = 0.1 - pkgrel = 1 + pkgrel = 2 url = https://github.com/0xacx/chatGPT-shell-cli.git arch = any license = MIT @@ -1,12 +1,7 @@ -# This is an example PKGBUILD file. Use this as a start to creating your own, -# and remove these comments. For more information, see 'man PKGBUILD'. -# NOTE: Please fill out the license field for your package! If it is unknown, -# then please put 'unknown'. - # Maintainer: Adrian Lopez <zeioth@hotmail.com> pkgname=chatgpt-shell-cli pkgver=0.1 -pkgrel=1 +pkgrel=2 epoch= pkgdesc="Use OpenAI's ChatGPT and DALL-E from the terminal." arch=(any) @@ -30,7 +25,5 @@ sha256sums=('SKIP') validpgpkeys=() package() { - # Add it to /usr/local/bin to make it executable - cd "${srcdir}"/chatGPT-shell-cli - sudo cp "${srcdir}"/chatGPT-shell-cli/chatgpt.sh /usr/local/bin/chatgpt + install -Dm755 "${srcdir}/chatGPT-shell-cli/chatgpt.sh" "${pkgdir}/usr/local/bin/chatgpt" } |