summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorZeioth2023-03-19 18:55:15 +0100
committerZeioth2023-03-19 18:55:15 +0100
commit4557100d90e15b268ea1340ebd586c0944dcc50b (patch)
treeaff3cfbbd46f415f9410ad17cc444039b15afd18 /PKGBUILD
parent59125fa94b778b321c962f6f343d154e7db6446f (diff)
downloadaur-4557100d90e15b268ea1340ebd586c0944dcc50b.tar.gz
Now we use 'install'
as pointed out by txtsd
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 2 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6afb7fc2bf0e..aedf0ae57cf3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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"
}