arch/pkg/de-p1st-pacman/PKGBUILD

27 lines
808 B
Bash

# Maintainer: Daniel Langbein <daniel@systemli.org>
_pkgname=pacman
_reponame=arch
pkgname="de-p1st-$_pkgname"
pkgver=0.2.2
pkgrel=1
pkgdesc="pacman with configuration"
arch=('any')
url="https://codeberg.org/privacy1st/${_reponame}"
license=('MIT')
depends=('pacman' 'holo' 'git' 'base')
depends+=('curl') # add signing key of mirror in .install
makedepends=('git')
optdepends=('de-p1st-pacman-mirrorlist')
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 -Dm0644 pacman.d/ungoogled-chromium "$pkgdir"/etc/pacman.d/ungoogled-chromium
install -Dm0544 pacman.conf.holoscript "$pkgdir"/usr/share/holo/files/20-"$pkgname"/etc/pacman.conf.holoscript
}