summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorZeioth2023-03-19 18:54:30 +0100
committerZeioth2023-03-19 18:54:30 +0100
commite9e68a9449a0871b54c1a571615c953bf89cf445 (patch)
treec86e9241768f968c2980878d04c1c736cd955ba3
parent55dace0aa7709852aa2002c26ab0008932339b17 (diff)
downloadaur-e9e68a9449a0871b54c1a571615c953bf89cf445.tar.gz
Now we use 'install'
as pointed out by txtsd
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD9
2 files changed, 3 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e5a507175549..867b618f1a1b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = linux-command-gpt
pkgdesc = Get Linux commands in natural language with the power of ChatGPT.
pkgver = 0.1.2
- pkgrel = 3
+ pkgrel = 4
url = https://github.com/asrul10/linux-command-gpt.git
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index e36250637f4c..12b842403651 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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=linux-command-gpt
pkgver=0.1.2
-pkgrel=3
+pkgrel=4
epoch=
pkgdesc="Get Linux commands in natural language with the power of ChatGPT."
arch=(any)
@@ -35,5 +30,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"
}