diff options
author | Zeioth | 2023-03-19 18:55:15 +0100 |
---|---|---|
committer | Zeioth | 2023-03-19 18:55:15 +0100 |
commit | 4557100d90e15b268ea1340ebd586c0944dcc50b (patch) | |
tree | aff3cfbbd46f415f9410ad17cc444039b15afd18 /PKGBUILD | |
parent | 59125fa94b778b321c962f6f343d154e7db6446f (diff) | |
download | aur-4557100d90e15b268ea1340ebd586c0944dcc50b.tar.gz |
Now we use 'install'
as pointed out by txtsd
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -1,11 +1,6 @@ -# 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=linux-command-gpt-git -pkgver=1.0.r2.6a8403b +pkgver=1.0.r6.59125fa pkgrel=2 epoch= pkgdesc="Get Linux commands in natural language with the power of ChatGPT." @@ -40,5 +35,5 @@ package() { go build -o lcg # Add it to /usr/bin to make it executable - sudo cp "${srcdir}"/linux-command-gpt/lcg /usr/bin/lcg + install -Dm755 "${srcdir}/linux-command-gpt/lcg" "${pkgdir}/usr/bin/lcg" } |