summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3ea5e819c65b98f6ffdf426baaf5358f1cb15ece (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
# Maintainer: Pellegrino Prevete <pellegrinoprevete@gmail.com>

# shellcheck disable=SC2034
_pkg="archiso"
_pkgbase="${_pkg}-profiles"
_profile=desktopbase
_pkgname="archlinux-${_profile}"
pkgname="${_pkgname}-git"
pkgver=v0.1
pkgrel=1
pkgdesc='Builds a base Archlinux desktop'
arch=('any')
license=('GPL3')
url="https://gitlab.archlinux.org/tallero/${_pkgbase}"
depends=('cryptsetup-nested-cryptkey'
	 'dwm'
	 'fakepkg'
	 'plymouth-nested-cryptkey'
	 '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 _profile="${_pkgbase}/${_profile}"
  cd "${_profile}" || exit

  bash build_repo.sh fakepkg
  # pkexec mkarchiso -v "./" # ${_profile}"
}