diff options
author | Zeioth | 2023-03-19 18:54:30 +0100 |
---|---|---|
committer | Zeioth | 2023-03-19 18:54:30 +0100 |
commit | e9e68a9449a0871b54c1a571615c953bf89cf445 (patch) | |
tree | c86e9241768f968c2980878d04c1c736cd955ba3 | |
parent | 55dace0aa7709852aa2002c26ab0008932339b17 (diff) | |
download | aur-e9e68a9449a0871b54c1a571615c953bf89cf445.tar.gz |
Now we use 'install'
as pointed out by txtsd
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 3 insertions, 8 deletions
@@ -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 @@ -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" } |