diff options
author | Pellegrino Prevete | 2022-07-06 18:59:26 +0000 |
---|---|---|
committer | Pellegrino Prevete | 2022-07-06 18:59:26 +0000 |
commit | 417a13fbc481d974131ab112905120ce6d9bfa12 (patch) | |
tree | 21cf66cce9f62f263930548c676b274762e079a5 | |
download | aur-417a13fbc481d974131ab112905120ce6d9bfa12.tar.gz |
standalone baseline (based on ebaseline)
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 43 |
2 files changed, 62 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..bf6addb95e2f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = archlinux-ebaseline + pkgdesc = Builds an Archlinux desktop + pkgver = v0.1+11+g1afb2fc + pkgrel = 1 + url = https://gitlab.archlinux.org/tallero/archiso-profiles + arch = any + license = GPL3 + checkdepends = shellcheck + makedepends = devtools + makedepends = git + depends = archiso-persistent-git + depends = cryptsetup-nested-cryptkey + depends = fakepkg + depends = mkinitcpio-archiso-encryption-git + depends = polkit + source = git+https://gitlab.archlinux.org/tallero/archiso-profiles + sha256sums = SKIP + +pkgname = archlinux-ebaseline diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0c4dc0c496d6 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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}" +} |