arch/pkg/de-p1st-pacman/PKGBUILD

26 lines
844 B
Bash
Raw Permalink Normal View History

# Maintainer: Daniel Langbein <daniel@systemli.org>
_pkgname=pacman
2021-04-26 18:28:17 +02:00
_reponame=arch
pkgname="de-p1st-$_pkgname"
pkgver=0.2.4
pkgrel=1
pkgdesc="pacman with configuration"
arch=('any')
2021-04-26 18:25:29 +02:00
url="https://codeberg.org/privacy1st/${_reponame}"
license=('MIT')
2022-04-15 15:36:53 +02:00
depends=()
depends+=('pacman')
2022-04-15 15:43:21 +02:00
depends+=('holo' 'git' 'base') # holo depends on base (otherwise "holo apply" may fail on initial system installation) and git (git-diff)
2021-04-22 13:37:47 +02:00
makedepends=('git')
optdepends=('de-p1st-pacman-mirrorlist' 'de-p1st-pacman-repo-chromium' 'de-p1st-repo-surface')
2021-04-29 14:24:28 +02:00
install='.install'
source=("git+${url}.git")
sha256sums=('SKIP')
package() {
cd "${_reponame}/pkg/${pkgname}"
2021-09-10 12:08:02 +02:00
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
}