diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 2 insertions, 9 deletions
@@ -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" } |