Added font

This commit is contained in:
Tibo De Peuter 2022-10-26 21:42:32 +02:00
parent c62c1edd07
commit 582f02a78e
27 changed files with 97 additions and 49 deletions

View file

@ -1,7 +1,7 @@
# Maintainer: Tibo De Peuter <tibo.depeuter@gmail.com>
pkgbase=tdpeuter
pkgname=(tdpeuter-base tdpeuter-dev tdpeuter-desktop tdpeuter-me)
pkgver=0.0.9
pkgver=0.0.10
pkgrel=1
pkgdesc="Sysconfig for my systems"
arch=(any)
@ -13,7 +13,7 @@ package_tdpeuter-base() {
install=tdpeuter-base.install
depends=(
base linux linux-firmware
base linux linux-firmware vim
)
# Networking
@ -60,7 +60,7 @@ package_tdpeuter-desktop() {
# To move dotfiles around
depends+=(
stow
fzf stow
)
# Base of sway desktop

View file

@ -1,11 +1,11 @@
format = 2
pkgname = tdpeuter-base
pkgbase = tdpeuter
pkgver = 0.0.9-1
pkgver = 0.0.10-1
pkgarch = any
pkgbuild_sha256sum = 734a7d457f8125ad4f6d3db3657f4ea1ef3a108eaaa5aa52601b001cbc837af4
pkgbuild_sha256sum = c68c480901478bded6cbb4ddb3bf6c5ebbfdf9261623c66b4b9db04f5d13036a
packager = Unknown Packager
builddate = 1666811966
builddate = 1666813262
builddir = /mnt/MyFiles/.hidden/arch-pkgs/pkg/tdpeuter
startdir = /mnt/MyFiles/.hidden/arch-pkgs/pkg/tdpeuter
buildtool = makepkg
@ -631,10 +631,10 @@ installed = systemd-251.7-1-x86_64
installed = systemd-libs-251.7-1-x86_64
installed = systemd-sysvcompat-251.7-1-x86_64
installed = tar-1.34-1-x86_64
installed = tdpeuter-base-0.0.8-1-any
installed = tdpeuter-desktop-0.0.8-1-any
installed = tdpeuter-dev-0.0.8-1-any
installed = tdpeuter-me-0.0.8-1-any
installed = tdpeuter-base-0.0.9-1-any
installed = tdpeuter-desktop-0.0.9-1-any
installed = tdpeuter-dev-0.0.9-1-any
installed = tdpeuter-me-0.0.9-1-any
installed = termshark-2.4.0-1-x86_64
installed = texinfo-6.8-2-x86_64
installed = thin-provisioning-tools-0.9.0-1-x86_64

View file

@ -3,6 +3,6 @@ post_install() {
systemctl enable --now NetworkManager.service
>&2 echo "Fixing locale"
sed -i "s/^#\(nl_BE.UTF-8 UTF-8\)/\1/g" "/etc/locale.gen"
sed -i "s/^#\(nl_BE.UTF-8 UTF-8\)$/\1/g" "/etc/locale.gen"
locale-gen
}

View file

@ -2,10 +2,10 @@
# using fakeroot version 1.29
pkgname = tdpeuter-base
pkgbase = tdpeuter
pkgver = 0.0.9-1
pkgver = 0.0.10-1
pkgdesc = Sysconfig for my systems
url = https://git.depeuter.tk/tdpeuter/arch-pkgs
builddate = 1666811966
builddate = 1666813262
packager = Unknown Packager
size = 0
arch = any
@ -14,4 +14,5 @@ group = tdpeuter
depend = base
depend = linux
depend = linux-firmware
depend = vim
depend = networkmanager

View file

@ -1,11 +1,11 @@
format = 2
pkgname = tdpeuter-desktop
pkgbase = tdpeuter
pkgver = 0.0.9-1
pkgver = 0.0.10-1
pkgarch = any
pkgbuild_sha256sum = 734a7d457f8125ad4f6d3db3657f4ea1ef3a108eaaa5aa52601b001cbc837af4
pkgbuild_sha256sum = c68c480901478bded6cbb4ddb3bf6c5ebbfdf9261623c66b4b9db04f5d13036a
packager = Unknown Packager
builddate = 1666811966
builddate = 1666813262
builddir = /mnt/MyFiles/.hidden/arch-pkgs/pkg/tdpeuter
startdir = /mnt/MyFiles/.hidden/arch-pkgs/pkg/tdpeuter
buildtool = makepkg
@ -631,10 +631,10 @@ installed = systemd-251.7-1-x86_64
installed = systemd-libs-251.7-1-x86_64
installed = systemd-sysvcompat-251.7-1-x86_64
installed = tar-1.34-1-x86_64
installed = tdpeuter-base-0.0.8-1-any
installed = tdpeuter-desktop-0.0.8-1-any
installed = tdpeuter-dev-0.0.8-1-any
installed = tdpeuter-me-0.0.8-1-any
installed = tdpeuter-base-0.0.9-1-any
installed = tdpeuter-desktop-0.0.9-1-any
installed = tdpeuter-dev-0.0.9-1-any
installed = tdpeuter-me-0.0.9-1-any
installed = termshark-2.4.0-1-x86_64
installed = texinfo-6.8-2-x86_64
installed = thin-provisioning-tools-0.9.0-1-x86_64

View file

@ -8,6 +8,7 @@ post_install() {
post_upgrade() {
install_software
install_fonts
>&2 echo "Moving to dotfile directory"
cd /usr/share/tdpeuter/arch-pkgs/
@ -29,18 +30,40 @@ pre_remove() {
install_software() {
cd
>&2 echo "Installing sway-git"
git clone https://aur.archlinux.org/sway-git.git
cd sway-git
>&2 echo "Installing betterbird"
git clone https://aur.archlinux.org/betterbird-bin.git
cd betterbird-bin
git pull
makepkg
pacman -U sway-git
pacman -U betterbird-bin
cd
>&2 echo "Installing hamsket"
git clone https://aur.archlinux.org/hamsket-bin.git
cd hamsket-bin
git pull
makepkg
pacman -U hamsket-bin
cd
>&2 echo "Installing sway-git"
git clone https://aur.archlinux.org/sway-git.git
cd sway-git
git pull
makepkg
pacman -U sway-git
cd
}
install_fonts() {
mkdir -p /usr/local/share/fonts
>&2 echo "Installing letter (font)"
git clone https://github.com/tdpeuter/letter.git
cd letter
cp ttf/* /usr/local/share/fonts/ttf/letter/
cp ttf-unhinted/* /usr/local/share/fonts/ttf-unhinted/letter/
cp woff2/* /usr/local/share/fonts/woff2/letter/
cd
}

View file

@ -2,16 +2,17 @@
# using fakeroot version 1.29
pkgname = tdpeuter-desktop
pkgbase = tdpeuter
pkgver = 0.0.9-1
pkgver = 0.0.10-1
pkgdesc = Sysconfig for my systems
url = https://git.depeuter.tk/tdpeuter/arch-pkgs
builddate = 1666811966
builddate = 1666813262
packager = Unknown Packager
size = 0
arch = any
license = GPL
group = tdpeuter
depend = tdpeuter-base
depend = fzf
depend = stow
depend = alacritty
depend = brightnessctl

View file

@ -1,11 +1,11 @@
format = 2
pkgname = tdpeuter-dev
pkgbase = tdpeuter
pkgver = 0.0.9-1
pkgver = 0.0.10-1
pkgarch = any
pkgbuild_sha256sum = 734a7d457f8125ad4f6d3db3657f4ea1ef3a108eaaa5aa52601b001cbc837af4
pkgbuild_sha256sum = c68c480901478bded6cbb4ddb3bf6c5ebbfdf9261623c66b4b9db04f5d13036a
packager = Unknown Packager
builddate = 1666811966
builddate = 1666813262
builddir = /mnt/MyFiles/.hidden/arch-pkgs/pkg/tdpeuter
startdir = /mnt/MyFiles/.hidden/arch-pkgs/pkg/tdpeuter
buildtool = makepkg
@ -631,10 +631,10 @@ installed = systemd-251.7-1-x86_64
installed = systemd-libs-251.7-1-x86_64
installed = systemd-sysvcompat-251.7-1-x86_64
installed = tar-1.34-1-x86_64
installed = tdpeuter-base-0.0.8-1-any
installed = tdpeuter-desktop-0.0.8-1-any
installed = tdpeuter-dev-0.0.8-1-any
installed = tdpeuter-me-0.0.8-1-any
installed = tdpeuter-base-0.0.9-1-any
installed = tdpeuter-desktop-0.0.9-1-any
installed = tdpeuter-dev-0.0.9-1-any
installed = tdpeuter-me-0.0.9-1-any
installed = termshark-2.4.0-1-x86_64
installed = texinfo-6.8-2-x86_64
installed = thin-provisioning-tools-0.9.0-1-x86_64

Binary file not shown.

View file

@ -2,10 +2,10 @@
# using fakeroot version 1.29
pkgname = tdpeuter-dev
pkgbase = tdpeuter
pkgver = 0.0.9-1
pkgver = 0.0.10-1
pkgdesc = Sysconfig for my systems
url = https://git.depeuter.tk/tdpeuter/arch-pkgs
builddate = 1666811966
builddate = 1666813262
packager = Unknown Packager
size = 0
arch = any

View file

@ -1,11 +1,11 @@
format = 2
pkgname = tdpeuter-me
pkgbase = tdpeuter
pkgver = 0.0.9-1
pkgver = 0.0.10-1
pkgarch = any
pkgbuild_sha256sum = 734a7d457f8125ad4f6d3db3657f4ea1ef3a108eaaa5aa52601b001cbc837af4
pkgbuild_sha256sum = c68c480901478bded6cbb4ddb3bf6c5ebbfdf9261623c66b4b9db04f5d13036a
packager = Unknown Packager
builddate = 1666811966
builddate = 1666813262
builddir = /mnt/MyFiles/.hidden/arch-pkgs/pkg/tdpeuter
startdir = /mnt/MyFiles/.hidden/arch-pkgs/pkg/tdpeuter
buildtool = makepkg
@ -631,10 +631,10 @@ installed = systemd-251.7-1-x86_64
installed = systemd-libs-251.7-1-x86_64
installed = systemd-sysvcompat-251.7-1-x86_64
installed = tar-1.34-1-x86_64
installed = tdpeuter-base-0.0.8-1-any
installed = tdpeuter-desktop-0.0.8-1-any
installed = tdpeuter-dev-0.0.8-1-any
installed = tdpeuter-me-0.0.8-1-any
installed = tdpeuter-base-0.0.9-1-any
installed = tdpeuter-desktop-0.0.9-1-any
installed = tdpeuter-dev-0.0.9-1-any
installed = tdpeuter-me-0.0.9-1-any
installed = termshark-2.4.0-1-x86_64
installed = texinfo-6.8-2-x86_64
installed = thin-provisioning-tools-0.9.0-1-x86_64

Binary file not shown.

View file

@ -2,10 +2,10 @@
# using fakeroot version 1.29
pkgname = tdpeuter-me
pkgbase = tdpeuter
pkgver = 0.0.9-1
pkgver = 0.0.10-1
pkgdesc = Sysconfig for my systems
url = https://git.depeuter.tk/tdpeuter/arch-pkgs
builddate = 1666811966
builddate = 1666813262
packager = Unknown Packager
size = 0
arch = any

Binary file not shown.

View file

@ -3,6 +3,6 @@ post_install() {
systemctl enable --now NetworkManager.service
>&2 echo "Fixing locale"
sed -i "s/^#\(nl_BE.UTF-8 UTF-8\)/\1/g" "/etc/locale.gen"
sed -i "s/^#\(nl_BE.UTF-8 UTF-8\)$/\1/g" "/etc/locale.gen"
locale-gen
}

Binary file not shown.

View file

@ -8,6 +8,7 @@ post_install() {
post_upgrade() {
install_software
install_fonts
>&2 echo "Moving to dotfile directory"
cd /usr/share/tdpeuter/arch-pkgs/
@ -29,18 +30,40 @@ pre_remove() {
install_software() {
cd
>&2 echo "Installing sway-git"
git clone https://aur.archlinux.org/sway-git.git
cd sway-git
>&2 echo "Installing betterbird"
git clone https://aur.archlinux.org/betterbird-bin.git
cd betterbird-bin
git pull
makepkg
pacman -U sway-git
pacman -U betterbird-bin
cd
>&2 echo "Installing hamsket"
git clone https://aur.archlinux.org/hamsket-bin.git
cd hamsket-bin
git pull
makepkg
pacman -U hamsket-bin
cd
>&2 echo "Installing sway-git"
git clone https://aur.archlinux.org/sway-git.git
cd sway-git
git pull
makepkg
pacman -U sway-git
cd
}
install_fonts() {
mkdir -p /usr/local/share/fonts
>&2 echo "Installing letter (font)"
git clone https://github.com/tdpeuter/letter.git
cd letter
cp ttf/* /usr/local/share/fonts/ttf/letter/
cp ttf-unhinted/* /usr/local/share/fonts/ttf-unhinted/letter/
cp woff2/* /usr/local/share/fonts/woff2/letter/
cd
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.