diff options
author | begin-theadventure | 2023-06-10 22:06:27 +0200 |
---|---|---|
committer | begin-theadventure | 2023-06-10 22:06:27 +0200 |
commit | 0629828cee56a13f3efced11eb67dd8ecbafd99f (patch) | |
tree | e81e16720df6f63424aff3f817ed65f96e169adb | |
parent | 0e3399d52b360c6e448499d5580c9c1b00ce621d (diff) | |
download | aur-0629828cee56a13f3efced11eb67dd8ecbafd99f.tar.gz |
Use git tag in source instead of git checkout
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 2 insertions, 8 deletions
@@ -8,7 +8,7 @@ pkgbase = extract-xiso license = custom makedepends = cmake makedepends = git - source = git+https://github.com/XboxDev/extract-xiso.git + source = git+https://github.com/XboxDev/extract-xiso.git#tag=build-202303040307 sha256sums = SKIP pkgname = extract-xiso @@ -12,15 +12,9 @@ url="https://github.com/XboxDev/extract-xiso" arch=('x86_64' 'i686') license=('custom') makedepends=('cmake' 'git') -source=("git+$url.git") +source=("git+$url.git#tag=$_pkgver") sha256sums=('SKIP') -prepare() { - # Switch tag version - cd $pkgname - git checkout tags/${_pkgver} -} - build() { cd $pkgname mkdir -p build |