blob: 0c4dc0c496d6cbd64a2f0d61a0705be3c20fcd83 (
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
|
# Maintainer: Pellegrino Prevete <pellegrinoprevete@gmail.com>
# shellcheck disable=SC2034
_pkg="archiso"
_distro="archlinux"
_pkgbase="${_pkg}-profiles"
_profile=ebaseline
pkgname="${_distro}-${_profile}"
pkgver=v0.1+11+g1afb2fc
pkgrel=1
pkgdesc='Builds an Archlinux desktop'
arch=('any')
license=('GPL3')
url="https://gitlab.${_distro}.org/tallero/${_pkgbase}"
depends=('archiso-persistent-git'
'cryptsetup-nested-cryptkey'
'fakepkg'
'mkinitcpio-archiso-encryption-git'
'polkit')
makedepends=('devtools' 'git')
checkdepends=('shellcheck')
source=("git+${url}")
sha256sums=('SKIP')
pkgver() {
cd "archiso-profiles" || exit
git describe --tags | sed 's/-/+/g'
}
package() {
# shellcheck disable=SC2154
local _dest="${pkgdir}/usr/share/${_distro}"
local _profile="${srcdir}/${_pkgbase}/${_profile}"
cd "${_profile}" || exit
mkdir -p work
./build_repo.sh fakepkg
install -d -m 0755 -- "${_dest}"
pkexec mkarchiso -v \
-o "${_dest}" \
-w "${_profile}/work" \
"${_profile}"
}
|