summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorZeioth2023-03-18 23:20:12 +0100
committerZeioth2023-03-18 23:20:12 +0100
commitf167cf78c8ba4fd9354e55b6814134cf1cdc3d1b (patch)
treea5ab9485c623946673972cae6df6e8c5b5459b11
parent1a4fcaf30ed6a64b8eee9830392e3ab557f502c7 (diff)
downloadaur-f167cf78c8ba4fd9354e55b6814134cf1cdc3d1b.tar.gz
Now we indicate the commit of the specific version.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e9c137b9c47c..192b818bb1dd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -9,7 +9,7 @@ pkgbase = linux-command-gpt
depends = go
provides = linux-command-gpt
conflicts = linux-command-gpt-git
- source = git+https://github.com/asrul10/linux-command-gpt.git
+ source = git+https://github.com/asrul10/linux-command-gpt.git#commit=952eee1a29219839df0c7fb2f442e60d41163551
sha256sums = SKIP
pkgname = linux-command-gpt
diff --git a/PKGBUILD b/PKGBUILD
index 7aff8fc65c4c..2de33398fe1e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -24,14 +24,15 @@ backup=()
options=()
install=
changelog=
-source=("git+$url")
+source=("git+$url#commit=952eee1a29219839df0c7fb2f442e60d41163551")
noextract=()
sha256sums=('SKIP')
validpgpkeys=()
package() {
- # Compile
+ # Compile stable version
cd "${srcdir}"/linux-command-gpt
+ git checkout v$pkgver
go build -o lcg
# Add it to /usr/bin to make it executable