add ungoogled-chromium mirror

This commit is contained in:
Daniel Langbein 2021-09-10 12:08:02 +02:00
parent 25953d2752
commit efcb2c4473
6 changed files with 24 additions and 7 deletions

View File

@ -1,11 +1,17 @@
## arg 1: the new package version
post_install() {
# add signing key of home_ungoogled_chromium_Arch mirror
curl -s 'https://download.opensuse.org/repositories/home:/ungoogled_chromium/Arch/x86_64/home_ungoogled_chromium_Arch.key' | sudo pacman-key --add -
holo apply
}
## arg 1: the new package version
## arg 2: the old package version
post_upgrade() {
# add signing key of home_ungoogled_chromium_Arch mirror
curl -s 'https://download.opensuse.org/repositories/home:/ungoogled_chromium/Arch/x86_64/home_ungoogled_chromium_Arch.key' | sudo pacman-key --add -
holo apply
}

View File

@ -2,13 +2,14 @@
_pkgname=pacman
_reponame=arch
pkgname="de-p1st-$_pkgname"
pkgver=0.1.2
pkgver=0.2.1
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'
@ -18,7 +19,8 @@ sha256sums=('SKIP')
package() {
cd "${_reponame}/pkg/${pkgname}"
install -Dm0644 pacman.d/de-p1st "$pkgdir"/etc/pacman.d/de-p1st
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
install -Dm0544 pacman.conf.holoscript "$pkgdir"/usr/share/holo/files/20-"$pkgname"/etc/pacman.conf.holoscript
}

View File

@ -5,5 +5,8 @@
# Enable parallel downloads
sed 's|^#ParallelDownloads\s*=.*$|ParallelDownloads = 4|'
# Include de-p1st mirror
# de-p1st mirror
echo 'Include = /etc/pacman.d/de-p1st'
# home_ungoogled_chromium_Arch mirror
echo 'Include = /etc/pacman.d/ungoogled-chromium'

View File

@ -1,4 +1,4 @@
# in /etc/pacman.conf -> Include = /path/to/this/cfg/file
# In /etc/pacman.conf -> Include = /path/to/this/cfg/file
[de-p1st]
SigLevel = Optional TrustAll

View File

@ -0,0 +1,6 @@
# In /etc/pacman.conf -> Include = /path/to/this/cfg/file
# Signing key: https://download.opensuse.org/repositories/home:/ungoogled_chromium/Arch/x86_64/home_ungoogled_chromium_Arch.key
[home_ungoogled_chromium_Arch]
SigLevel = Required TrustAll
Server = https://download.opensuse.org/repositories/home:/ungoogled_chromium/Arch/$arch

View File

@ -2,7 +2,7 @@
_pkgname=xfce4
_reponame=arch
pkgname="de-p1st-$_pkgname"
pkgver=0.1.2
pkgver=0.1.3
pkgrel=1
pkgdesc="XFCE4 with configuration"
arch=('any')
@ -76,7 +76,7 @@ depends+=(de-p1st-sddm-theme)
depends+=(nautilus)
depends+=(xdg-user-dirs) # nautilus new file templates
depends+=(python-nautilus) # e.g. Nextcloud integration
depends+=(chromium cmark-gfm) # md-to-pdf script depends on these two packages
depends+=(ungoogled-chromium cmark-gfm) # md-to-pdf script depends on these two packages
# compression/archiving
# -> https://docs.xfce.org/xfce/thunar/archive#supported_archive_managers