plasma-desktop paketleri 1

This commit is contained in:
cakarsu committed 2023-11-14 22:28:03 +03:00
1 parent e5418be89d
commit b9f50c3e6c
34 files changed
+1104

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
#!/usr/bin/ash
run_hook() {
mkdir -m755 -p /dev/pts
mount -t devpts devpts /dev/pts -o nosuid,noexec,gid=5,mode=620
plymouthd --mode=boot --pid-file=/run/plymouth/pid --attach-to-session
plymouth show-splash
}
run_latehook(){
plymouth update-root-fs --new-root-dir=/new_root
}
run_emergencyhook(){
plymouth --wait quit
}
+6
View File
@@ -0,0 +1,6 @@
post_upgrade() {
# Show warning for users of the old package from AUR
if (( $(vercmp $2 '22.02.122-5') < 0 )); then
echo "WARNING: The 'plymouth-encrypt' and 'sd-plymouth' hooks are no longer exist in the package. You should replace them with 'encrypt' and 'plymouth' hooks in your 'mkinitcpio.conf'. The 'lxdm-plymouth.service', 'lightdm-plymouth.service' and 'sddm-plymouth.service' systemd service files are no longer exist in the package. You should enable 'lxdm.service', 'lightdm.service' or 'sddm.service' instead."
fi
}
+52
View File
@@ -0,0 +1,52 @@
#!/usr/bin/env bash
name='plymouth'
release='1'
version='22.02.122'
url='https://www.freedesktop.org/wiki/Software/Plymouth/'
description='Graphical boot splash screen'
email='akarsu@protonmail.com'
maintainer='akarsu'
license=('GPLv2')
source=("https://gitlab.freedesktop.org/plymouth/plymouth/-/archive/${version}/plymouth-${version}.tar.gz"
"plymouth.initcpio_hook"
"plymouth.initcpio_install"
)
#source=("https://www.freedesktop.org/software/plymouth/releases/plymouth-${version}.tar.xz")
depends=(cairo cantarell-fonts libdrm libpng pango)
makedepends=(gtk3 docbook-xsl)
md5sums=('a468a1178eacdd2f83818b5c3e113b73' 'SKIP' 'SKIP')
group=(sys.boot)
uses=()
arch=('x86_64')
cd $name-$version
setup () {
autoreconf -fvi
./configure --prefix=/usr \
--libdir=/usr/lib64/ \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
--with-system-root-install \
--disable-systemd-integration
}
build () {
make $jobs
}
package () {
make DESTDIR="$DESTDIR" install $jobs
rm -f "$DESTDIR"/usr/lib/plymouth/*.la
# Install mkinitcpio hook
install -Dm644 ../plymouth.initcpio_hook "$DESTDIR/usr/lib/initcpio/hooks/$name"
install -Dm644 ../plymouth.initcpio_install "$DESTDIR/usr/lib/initcpio/install/$name"
rm -f $DESTDIR/usr/share/plymouth/themes/spinfinity/header-image.png
#ln -s ../../plymouth/bizcom.png $DESTDIR/usr/share/plymouth/themes/spinfinity/header-image.png
}