# Maintainer: Daniel Langbein _pkgname=pacman _reponame=arch pkgname="de-p1st-$_pkgname" pkgver=0.2.4 pkgrel=1 pkgdesc="pacman with configuration" arch=('any') url="https://codeberg.org/privacy1st/${_reponame}" license=('MIT') depends=() depends+=('pacman') depends+=('holo' 'git' 'base') # holo depends on base (otherwise "holo apply" may fail on initial system installation) and git (git-diff) makedepends=('git') optdepends=('de-p1st-pacman-mirrorlist' 'de-p1st-pacman-repo-chromium' 'de-p1st-repo-surface') install='.install' source=("git+${url}.git") sha256sums=('SKIP') package() { cd "${_reponame}/pkg/${pkgname}" install -Dm0644 pacman.d/de-p1st "$pkgdir"/etc/pacman.d/de-p1st install -Dm0544 pacman.conf.holoscript "$pkgdir"/usr/share/holo/files/20-"$pkgname"/etc/pacman.conf.holoscript }