mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
fix de-p1st-locale
This commit is contained in:
parent
c866d8895a
commit
ee58aef3d9
@ -10,7 +10,7 @@ function build-with-makepkg() {
|
||||
case "$?" in
|
||||
0)
|
||||
# Copy the build package to /home/custompkgs
|
||||
cp "${PKG}-"*.pkg.tar.zst /home/custompkgs/ || return $?
|
||||
cp --no-clobber "${PKG}-"*.pkg.tar.zst /home/custompkgs/ || return $?
|
||||
;;
|
||||
13)
|
||||
# Exit code 13: A package has already been built.
|
||||
@ -38,8 +38,8 @@ function build-pkg() {
|
||||
cd "pkg/${PKG}" || return $?
|
||||
|
||||
# Build and copy to /home/custompkgs
|
||||
# build-with-makepkg || {
|
||||
build-with-aurutils || {
|
||||
build-with-makepkg || {
|
||||
# build-with-aurutils || {
|
||||
echo "Failed to build package ${PKG}!";
|
||||
FAILED_PKGS+=("${PKG}");
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
_pkgname=locale
|
||||
_reponame=arch
|
||||
pkgname="de-p1st-$_pkgname"
|
||||
pkgver=0.0.1
|
||||
pkgver=0.0.2
|
||||
pkgrel=1
|
||||
pkgdesc="locale and timezone"
|
||||
arch=('any')
|
||||
@ -26,8 +26,8 @@ sha256sums=('SKIP')
|
||||
package() {
|
||||
cd "${_reponame}/pkg/${pkgname}"
|
||||
|
||||
install -Dm0644 locale.conf "$pkgdir"/etc/locale.conf
|
||||
install -Dm0544 locale.gen.holoscript "$pkgdir"/usr/share/holo/files/"$pkgname"/etc/locale.gen.holoscript
|
||||
install -Dm0644 locale.conf "$pkgdir"/usr/share/holo/files/"$pkgname"/etc/locale.conf
|
||||
install -Dm0644 locale.gen "$pkgdir"/usr/share/holo/files/"$pkgname"/etc/locale.gen
|
||||
|
||||
ln -sf /usr/share/zoneinfo/Europe/Berlin "$pkgdir"/etc/localtime
|
||||
install -Dm0644 localtime "$pkgdir"/usr/share/holo/files/"$pkgname"/etc/localtime
|
||||
}
|
||||
|
5
pkg/de-p1st-locale/locale.gen
Normal file
5
pkg/de-p1st-locale/locale.gen
Normal file
@ -0,0 +1,5 @@
|
||||
de_DE.UTF-8 UTF-8
|
||||
# de_DE ISO-8859-1
|
||||
# de_DE@euro ISO-8859-15
|
||||
en_US.UTF-8 UTF-8
|
||||
# en_US ISO-8859-1
|
@ -1,9 +0,0 @@
|
||||
#!/bin/sh
|
||||
# stdin: default config
|
||||
# stdout: modified config
|
||||
|
||||
echo 'de_DE.UTF-8 UTF-8
|
||||
# de_DE ISO-8859-1
|
||||
# de_DE@euro ISO-8859-15
|
||||
en_US.UTF-8 UTF-8
|
||||
# en_US ISO-8859-1'
|
1
pkg/de-p1st-locale/localtime
Symbolic link
1
pkg/de-p1st-locale/localtime
Symbolic link
@ -0,0 +1 @@
|
||||
/usr/share/zoneinfo/Europe/Berlin
|
Loading…
Reference in New Issue
Block a user