forked from Shinonome/dots-hyprland
Use local PKGBUILD for Bibata-Modern-Classic
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
pkgname=illogical-impulse-bibata-modern-classic-bin
|
||||
pkgver=2.0.6
|
||||
pkgrel=1
|
||||
pkgdesc="Material Based Cursor Theme, installed for illogical-impulse dotfiles"
|
||||
arch=('any')
|
||||
url="https://github.com/ful1e5/Bibata_Cursor"
|
||||
license=('GPL-3.0-or-later')
|
||||
conflicts=("bibata-cursor-theme" "bibata-cursor-theme-bin")
|
||||
options=('!strip')
|
||||
_variant=Bibata-Modern-Classic
|
||||
source=("${pkgname%-bin}-$pkgver.tar.xz::$url/releases/download/v$pkgver/$_variant.tar.xz")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
package() {
|
||||
install -dm755 "$pkgdir/usr/share/icons"
|
||||
cp -dr --no-preserve=mode $_variant "$pkgdir/usr/share/icons"
|
||||
}
|
||||
@@ -8,6 +8,7 @@ url="https://github.com/end-4/OneUI4-Icons"
|
||||
license=('GPL3')
|
||||
source=("git+${url}.git")
|
||||
sha256sums=('SKIP')
|
||||
options=('!strip')
|
||||
|
||||
pkgver(){
|
||||
cd $srcdir/$_pkgname
|
||||
|
||||
+5
-10
@@ -107,6 +107,8 @@ install-local-pkgbuild() {
|
||||
metapkgs=(./arch-packages/illogical-impulse-{audio,backlight,basic,fonts-themes,gnome,gtk,microtex,portal,python,screencapture,widgets})
|
||||
metapkgs+=(./arch-packages/illogical-impulse-ags)
|
||||
metapkgs+=(./arch-packages/illogical-impulse-oneui4-icons-git)
|
||||
[[ -f /usr/share/icons/Bibata-Modern-Classic/index.theme ]] || \
|
||||
metapkgs+=(./arch-packages/illogical-impulse-bibata-modern-classic-bin)
|
||||
|
||||
for i in "${metapkgs[@]}"; do
|
||||
metainstallflags="--needed"
|
||||
@@ -120,7 +122,7 @@ done
|
||||
case $SKIP_PYMYC_AUR in
|
||||
true) sleep 0;;
|
||||
*)
|
||||
pymycinstallflags="--clean"
|
||||
pymycinstallflags=""
|
||||
$ask && showfun install-local-pkgbuild || pymycinstallflags="$pymycinstallflags --noconfirm"
|
||||
v install-local-pkgbuild "./arch-packages/illogical-impulse-pymyc-aur" "$pymycinstallflags"
|
||||
;;
|
||||
@@ -132,7 +134,7 @@ esac
|
||||
case $SKIP_HYPR_AUR in
|
||||
true) sleep 0;;
|
||||
*)
|
||||
hyprland_installflags="-S --clean"
|
||||
hyprland_installflags="-S"
|
||||
$ask || hyprland_installflags="$hyprland_installflags --noconfirm"
|
||||
v yay $hyprland_installflags --asdeps hyprutils-git hyprlang-git hyprcursor-git hyprwayland-scanner-git
|
||||
v yay $hyprland_installflags --answerclean=a hyprland-git
|
||||
@@ -169,14 +171,6 @@ v gsettings set org.gnome.desktop.interface font-name 'Rubik 11'
|
||||
printf "\e[36m[$0]: 2. Installing parts from source repo\e[0m\n"
|
||||
sleep 1
|
||||
|
||||
if $(test -d /usr/local/share/icons/Bibata-Modern-Classic); then
|
||||
echo -e "\e[33m[$0]: Cursor theme \"Bibata-Modern-Classic\" already exists, no need to install.\e[0m"
|
||||
echo -e "\e[34mYou can reinstall it in order to update to the latest version anyway.\e[0m"
|
||||
ask_bibata=$ask
|
||||
else ask_bibata=true
|
||||
fi
|
||||
if $ask_bibata;then showfun install-bibata;v install-bibata;fi
|
||||
|
||||
if command -v LaTeX >/dev/null 2>&1;then
|
||||
echo -e "\e[33m[$0]: Program \"MicroTeX\" already exists, no need to install.\e[0m"
|
||||
echo -e "\e[34mYou can reinstall it in order to update to the latest version anyway.\e[0m"
|
||||
@@ -281,6 +275,7 @@ warn_files_tests+=(/usr/local/share/com.github.Aylur.ags)
|
||||
warn_files_tests+=(/usr/local/share/fonts/TTF/Rubik{,-Italic}[wght].ttf)
|
||||
warn_files_tests+=(/usr/local/share/fonts/TTF/Gabarito-{Black,Bold,ExtraBold,Medium,Regular,SemiBold}.ttf)
|
||||
warn_files_tests+=(/usr/local/share/icons/OneUI{,-dark,-light})
|
||||
warn_files_tests+=(/usr/local/share/icons/Bibata-Modern-Classic)
|
||||
for i in $warn_files_test; do
|
||||
test -f $t && warn_files+=($t)
|
||||
test -d $t && warn_files+=($t)
|
||||
|
||||
@@ -81,6 +81,7 @@ install-OneUI (){
|
||||
x cd $base
|
||||
}
|
||||
|
||||
# Not for Arch(based) distro.
|
||||
install-bibata (){
|
||||
x mkdir -p $base/cache/bibata-cursor
|
||||
x cd $base/cache/bibata-cursor
|
||||
|
||||
Reference in New Issue
Block a user