arch/pkg/de-p1st-pacman-repo-chromium/PKGBUILD

27 lines
892 B
Bash
Raw Permalink Normal View History

# Maintainer: Daniel Langbein <daniel@systemli.org>
2021-09-23 18:34:49 +02:00
_pkgname=pacman-repo-chromium
_reponame=arch
pkgname="de-p1st-$_pkgname"
pkgver=0.0.1
pkgrel=1
pkgdesc="Enable ungoogled-chromium repo"
arch=('any')
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)
depends+=('curl') # add signing key of mirror in .install
makedepends=('git')
install='.install'
source=("git+${url}.git")
sha256sums=('SKIP')
package() {
cd "${_reponame}/pkg/${pkgname}"
install -Dm0644 pacman.d/ungoogled-chromium "$pkgdir"/etc/pacman.d/ungoogled-chromium
# 25 to be applied after de-p1st-pacman which is 20
install -Dm0544 pacman.conf.holoscript "$pkgdir"/usr/share/holo/files/25-"$pkgname"/etc/pacman.conf.holoscript
}