diff --git a/.gitignore b/.gitignore index ae5bb82..d0d0965 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ **/*.pkg.* + +*/pkg diff --git a/grub_updater/PKGBUILD b/grub_updater/PKGBUILD new file mode 100644 index 0000000..4c23f21 --- /dev/null +++ b/grub_updater/PKGBUILD @@ -0,0 +1,13 @@ +pkgname=grub-updater +pkgver=1.0.0 +pkgrel=1 +pkgdesc="Update grub via pacman-hook." +arch=('any') +source=(grub-updater.hook grub-updater.sh) +sha256sums=('44bb9be24053a54d9ad13eaf2fb3bbf5a82b1b4197cf1d3946607359e00221bf' '85a4f1f23e4e1bc4716e64a60d5f16c29aee61043dbb8c15bec63ef95407c10a') +license=('Apache') + +package() { + install -Dm0644 -t "$pkgdir/usr/share/libalpm/hooks/" ${source[0]} + install -Dm0744 -t "$pkgdir/etc/" ${source[1]} +} diff --git a/grub_updater/grub-updater.hook b/grub_updater/grub-updater.hook new file mode 100644 index 0000000..bacc18f --- /dev/null +++ b/grub_updater/grub-updater.hook @@ -0,0 +1,13 @@ +[Trigger] +Operation = Install +Operation = Upgrade +Type = Package +Target = linux +Target = linux-lts +Target = linux-zen +Target = linux-hardened +Target = grub +[Action] +Description = Reconfiguring grub. +When = PostTransaction +Exec = /bin/sh /etc/grub-updater.sh diff --git a/grub_updater/grub-updater.sh b/grub_updater/grub-updater.sh new file mode 100755 index 0000000..7666514 --- /dev/null +++ b/grub_updater/grub-updater.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +echo "Updating grub config." +grub-mkconfig -o /boot/grub/grub.cfg + +echo "Reinstalling grub." +grub-install --removable +#grub-install --target=x86_64-efi --efi-directory=esp --bootloader-id=GRUB +#grub-install --target=i386-pc /dev/sdX diff --git a/grub_updater/src/grub-updater.hook b/grub_updater/src/grub-updater.hook new file mode 120000 index 0000000..27b5db5 --- /dev/null +++ b/grub_updater/src/grub-updater.hook @@ -0,0 +1 @@ +/home/yenon/archbuild/grub_updater/grub-updater.hook \ No newline at end of file diff --git a/grub_updater/src/grub-updater.sh b/grub_updater/src/grub-updater.sh new file mode 120000 index 0000000..de26dc9 --- /dev/null +++ b/grub_updater/src/grub-updater.sh @@ -0,0 +1 @@ +/home/yenon/archbuild/grub_updater/grub-updater.sh \ No newline at end of file diff --git a/remove-v4l2-icons/src/remove-v4l2-icons.hook b/remove-v4l2-icons/src/remove-v4l2-icons.hook new file mode 120000 index 0000000..7bfcef0 --- /dev/null +++ b/remove-v4l2-icons/src/remove-v4l2-icons.hook @@ -0,0 +1 @@ +/home/yenon/archbuild/remove-v4l2-icons/remove-v4l2-icons.hook \ No newline at end of file diff --git a/wine-hell/PKGBUILD b/wine-hell/PKGBUILD new file mode 100644 index 0000000..4e25053 --- /dev/null +++ b/wine-hell/PKGBUILD @@ -0,0 +1,7 @@ +pkgname=yenon-wine-hell +pkgver=1.0.0 +pkgrel=1 +pkgdesc="GE-Proton dependencies" +arch=('any') +depends=('wine-staging' 'winetricks' 'giflib' 'lib32-giflib' 'libpng' 'lib32-libpng' 'libldap' 'lib32-libldap' 'gnutls' 'lib32-gnutls' 'mpg123' 'lib32-mpg123' 'openal' 'lib32-openal' 'v4l-utils' 'lib32-v4l-utils' 'libpulse' 'lib32-libpulse' 'alsa-plugins' 'lib32-alsa-plugins' 'alsa-lib' 'lib32-alsa-lib' 'libjpeg-turbo' 'lib32-libjpeg-turbo' 'libxcomposite' 'lib32-libxcomposite' 'libxinerama' 'lib32-libxinerama' 'ncurses' 'lib32-ncurses' 'opencl-icd-loader' 'lib32-opencl-icd-loader' 'libxslt' 'lib32-libxslt' 'libva' 'lib32-libva' 'gtk3' 'lib32-gtk3' 'gst-plugins-base-libs' 'lib32-gst-plugins-base-libs' 'vulkan-icd-loader' 'lib32-vulkan-icd-loader' 'cups' 'samba' 'dosbox') +