mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
add ungoogled-chromium mirror
This commit is contained in:
parent
25953d2752
commit
efcb2c4473
@ -1,11 +1,17 @@
|
|||||||
## arg 1: the new package version
|
## arg 1: the new package version
|
||||||
post_install() {
|
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
|
holo apply
|
||||||
}
|
}
|
||||||
|
|
||||||
## arg 1: the new package version
|
## arg 1: the new package version
|
||||||
## arg 2: the old package version
|
## arg 2: the old package version
|
||||||
post_upgrade() {
|
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
|
holo apply
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2,13 +2,14 @@
|
|||||||
_pkgname=pacman
|
_pkgname=pacman
|
||||||
_reponame=arch
|
_reponame=arch
|
||||||
pkgname="de-p1st-$_pkgname"
|
pkgname="de-p1st-$_pkgname"
|
||||||
pkgver=0.1.2
|
pkgver=0.2.1
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="pacman with configuration"
|
pkgdesc="pacman with configuration"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url="https://codeberg.org/privacy1st/${_reponame}"
|
url="https://codeberg.org/privacy1st/${_reponame}"
|
||||||
license=('MIT')
|
license=('MIT')
|
||||||
depends=('pacman' 'holo' 'git' 'base')
|
depends=('pacman' 'holo' 'git' 'base')
|
||||||
|
depends+=('curl') # add signing key of mirror in .install
|
||||||
makedepends=('git')
|
makedepends=('git')
|
||||||
optdepends=('de-p1st-pacman-mirrorlist')
|
optdepends=('de-p1st-pacman-mirrorlist')
|
||||||
install='.install'
|
install='.install'
|
||||||
@ -19,6 +20,7 @@ package() {
|
|||||||
cd "${_reponame}/pkg/${pkgname}"
|
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
|
||||||
}
|
}
|
||||||
|
@ -5,5 +5,8 @@
|
|||||||
# Enable parallel downloads
|
# Enable parallel downloads
|
||||||
sed 's|^#ParallelDownloads\s*=.*$|ParallelDownloads = 4|'
|
sed 's|^#ParallelDownloads\s*=.*$|ParallelDownloads = 4|'
|
||||||
|
|
||||||
# Include de-p1st mirror
|
# de-p1st mirror
|
||||||
echo 'Include = /etc/pacman.d/de-p1st'
|
echo 'Include = /etc/pacman.d/de-p1st'
|
||||||
|
|
||||||
|
# home_ungoogled_chromium_Arch mirror
|
||||||
|
echo 'Include = /etc/pacman.d/ungoogled-chromium'
|
||||||
|
@ -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]
|
[de-p1st]
|
||||||
SigLevel = Optional TrustAll
|
SigLevel = Optional TrustAll
|
||||||
|
6
pkg/de-p1st-pacman/pacman.d/ungoogled-chromium
Normal file
6
pkg/de-p1st-pacman/pacman.d/ungoogled-chromium
Normal 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
|
@ -2,7 +2,7 @@
|
|||||||
_pkgname=xfce4
|
_pkgname=xfce4
|
||||||
_reponame=arch
|
_reponame=arch
|
||||||
pkgname="de-p1st-$_pkgname"
|
pkgname="de-p1st-$_pkgname"
|
||||||
pkgver=0.1.2
|
pkgver=0.1.3
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="XFCE4 with configuration"
|
pkgdesc="XFCE4 with configuration"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
@ -76,7 +76,7 @@ depends+=(de-p1st-sddm-theme)
|
|||||||
depends+=(nautilus)
|
depends+=(nautilus)
|
||||||
depends+=(xdg-user-dirs) # nautilus new file templates
|
depends+=(xdg-user-dirs) # nautilus new file templates
|
||||||
depends+=(python-nautilus) # e.g. Nextcloud integration
|
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
|
# compression/archiving
|
||||||
# -> https://docs.xfce.org/xfce/thunar/archive#supported_archive_managers
|
# -> https://docs.xfce.org/xfce/thunar/archive#supported_archive_managers
|
||||||
|
Loading…
Reference in New Issue
Block a user