blob: 603d964fa6d116c79f05d1367b547f10d251eb93 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Copyright (C) 2019-2022 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.
# Maintainers: Parabola hackers <dev@lists.parabola.nu>
pkgname=guix-installer
pkgver=v1.3.0
pkgrel=2
pkgdesc="A command line installer for Guix"
arch=(any)
url="https://www.gnu.org/software/guix/"
license=('GPL3')
depends=('coreutils'
'glibc'
'gnupg'
'grep'
'sed'
'shadow'
'tar'
'wget'
'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}")
sha256sums=('bcdeaa757cd42d2c9de4791272737e9ee0d518398403955f113611f4a893380a'
'8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903')
sha512sums=('7e006d77c20a802fd1a5bd95912a64fbce3c3ac3fc9db5a77367a46408454e42ef072ff4ace912e23196f5a9496e7b35859ade755050094e24fe2937b45baca5'
'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
}
package() {
cd "${pkgname}-${pkgver}"
install -d "${pkgdir}/usr/bin"
install -m 755 guix-install.sh -t "${pkgdir}/usr/bin"
install -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}/"
}
|