This commit is contained in:
Daniel Langbein 2021-05-03 18:14:37 +02:00
parent ee2e6f4303
commit d7f8752bd7
4 changed files with 22 additions and 12 deletions

View File

@ -1,19 +1,24 @@
pre_install() {
mv /etc/locale.conf /etc/locale.conf.bkp
}
post_install() {
holo apply --force file:/etc/locale.conf
# holo apply --force file:/etc/locale.conf
holo apply --force file:/etc/locale.gen
holo apply --force file:/etc/localtime
# holo apply --force file:/etc/localtime
locale-gen
}
post_upgrade() {
holo apply --force file:/etc/locale.conf
# holo apply --force file:/etc/locale.conf
holo apply --force file:/etc/locale.gen
holo apply --force file:/etc/localtime
# holo apply --force file:/etc/localtime
locale-gen
}
post_remove() {
holo apply
mv /etc/locale.conf.bkp /etc/locale.conf
}

View File

@ -2,7 +2,7 @@
_pkgname=locale
_reponame=arch
pkgname="de-p1st-$_pkgname"
pkgver=0.0.5
pkgver=0.0.6
pkgrel=1
pkgdesc="locale and timezone"
arch=('any')
@ -29,8 +29,13 @@ package() {
# Note: The following three files are overwritten with "holo apply --force ..."
# See ".install" script
install -Dm0644 locale.conf "$pkgdir"/usr/share/holo/files/"$pkgname"/etc/locale.conf
# (!)
# install -Dm0644 locale.conf "$pkgdir"/usr/share/holo/files/"$pkgname"/etc/locale.conf
install -Dm0644 locale.conf "$pkgdir"/etc/locale.conf
install -Dm0644 locale.gen "$pkgdir"/usr/share/holo/files/"$pkgname"/etc/locale.gen
ln -sf /usr/share/zoneinfo/Europe/Berlin "$pkgdir"/usr/share/holo/files/"$pkgname"/etc/localtime
# (!)
# ln -sf /usr/share/zoneinfo/Europe/Berlin "$pkgdir"/usr/share/holo/files/"$pkgname"/etc/localtime
ln -sf /usr/share/zoneinfo/Europe/Berlin "$pkgdir"/etc/localtime
}

View File

@ -2,14 +2,14 @@
_pkgname=mkinitcpio
_reponame=arch
pkgname="de-p1st-$_pkgname"
pkgver=0.0.4
pkgver=0.0.5
pkgrel=1
pkgdesc="mkinitcpio configuration"
arch=('any')
url="https://codeberg.org/privacy1st/${_reponame}"
license=('MIT')
groups=()
depends=('mkinitcpio' 'holo')
depends=('mkinitcpio' 'holo' 'base') # without base "holo apply" may fail on initial system installation
makedepends=('git')
optdepends=()
provides=()

View File

@ -2,14 +2,14 @@
_pkgname=pacman-mirrorlist
_reponame=arch
pkgname="de-p1st-$_pkgname"
pkgver=0.0.5
pkgver=0.0.6
pkgrel=2
pkgdesc="selected Arch Linux mirrors"
arch=('any')
url="https://codeberg.org/privacy1st/${_reponame}"
license=('MIT')
groups=()
depends=('pacman' 'holo')
depends=('pacman' 'holo' 'base') # without base "holo apply" may fail on initial system installation
makedepends=('git')
optdepends=()
provides=()