summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2023-08-14 01:00:38 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2023-08-14 01:02:57 +0200
commitb429fca678934cd768c4cf9509927b957bb23810 (patch)
treeeed530a5f0ef6d6ddfdd868266431fe87f38a0b4 /pcr
parent7a8f2b297eb90d16ba40618bfbd53c2d80c000bc (diff)
pcr: guix-installer: sync with Aur to fix srcver bug
I was notified by micwoj92 that srcver was wrong, so I've updated the PKGBUILD there and so I'm also updating it here. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'pcr')
-rw-r--r--pcr/guix-installer/PKGBUILD21
1 files changed, 11 insertions, 10 deletions
diff --git a/pcr/guix-installer/PKGBUILD b/pcr/guix-installer/PKGBUILD
index e6f44459f..6cde44bda 100644
--- a/pcr/guix-installer/PKGBUILD
+++ b/pcr/guix-installer/PKGBUILD
@@ -1,11 +1,12 @@
-# Copyright (C) 2019-2022 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
+# Copyright (C) 2019-2023 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the CC0 1.0 License.
# Maintainer: Parabola Hackers <dev@lists.parabola.nu>
pkgname=guix-installer
-pkgver=v1.4.0
-pkgrel=2
+pkgver=1.4.0
+_pkgver=v${pkgver}
+pkgrel=1
pkgdesc="A command line installer for Guix"
arch=(any)
url="https://www.gnu.org/software/guix/"
@@ -21,8 +22,8 @@ depends=('coreutils'
'which'
'xz')
-source=("https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh?h=${pkgver}"
- "https://git.savannah.gnu.org/cgit/guix.git/plain/COPYING?h=${pkgver}")
+source=("https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh?h=${_pkgver}"
+ "https://git.savannah.gnu.org/cgit/guix.git/plain/COPYING?h=${_pkgver}")
sha256sums=('ca78fa55d34d2a442c0677dc703aa56ef775859e8d8f2f8725e7ac064fb5fecb'
'8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903')
@@ -30,14 +31,14 @@ sha512sums=('5210d6f2f1a61bc178d6e7bc466d50bc902195a9c93f62a72710cc0392700168280
'7633623b66b5e686bb94dd96a7cdb5a7e5ee00e87004fab416a5610d59c62badaf512a2e26e34e2455b7ed6b76690d2cd47464836d7d85d78b51d50f7e933d5c')
prepare() {
- mkdir -p "${pkgname}-${pkgver}"
- cd "${pkgname}-${pkgver}"
- cp "${srcdir}/guix-install.sh?h=${pkgver}" guix-install.sh
- cp "${srcdir}/COPYING?h=${pkgver}" COPYING
+ mkdir -p "${pkgname}-${_pkgver}"
+ cd "${pkgname}-${_pkgver}"
+ cp "${srcdir}/guix-install.sh?h=${_pkgver}" guix-install.sh
+ cp "${srcdir}/COPYING?h=${_pkgver}" COPYING
}
package() {
- cd "${pkgname}-${pkgver}"
+ cd "${pkgname}-${_pkgver}"
install -d "${pkgdir}/usr/bin"
install -m 755 guix-install.sh -t "${pkgdir}/usr/bin"