summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-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"
}