CringeTech packages

This commit is contained in:
Wallesntein 2024-10-13 11:47:35 +03:00
commit 5bdc363fec
8 changed files with 89 additions and 0 deletions

2
install.sh Normal file
View file

@ -0,0 +1,2 @@
#!/bin/sh
cp -vr srcpkgs/* ../void-packages/srcpkgs/

View file

@ -0,0 +1,9 @@
[Desktop Entry]
Version=5.4.1
Name=AyuGram Desktop
Comment=Unofficial Telegram Desktop client
Exec=/usr/bin/ayugram-desktop
Icon=ayugram
Terminal=false
Type=Application
Categories=Network:InstantMessaging:

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View file

@ -0,0 +1,24 @@
pkgname=ayugram-desktop
version=5.4.1
revision=1
archs="x86_64"
homepage="https://github.com/AyuGram/AyuGramDesktop"
short_desc="AyuGram binary package"
maintainer="Wallenstein <wallenstein@cringetech.net>"
license="GPL-3.0-or-later"
distfiles="https://ayugram.cringetech.net/ayugram-desktop-5.4.1.tar.xz"
checksum="f58498d79c008faa305eaab393fe241592d8547ecc2420f8ab68316eae9c743d"
do_install() {
# Распакуйте архив
tar -xvf ${distfiles} -C ${DESTDIR}/usr/bin ayugram-desktop
# Установка прав на исполняемый файл
chmod 755 ${DESTDIR}/usr/bin/ayugram-desktop
# Создание .desktop файла
vinstall ayugram.desktop 644 usr/share/applications
# Копирование иконки
install -Dm644 ${FILESDIR}/ayuchan.png ${DESTDIR}/usr/share/icons/hicolor/256x256/apps/ayuchan.png
}

View file

@ -0,0 +1,22 @@
# Template file for 'swaylock'
pkgname=swaylock-effects
version=1.6
revision=4
build_style=meson
conf_files="/etc/pam.d/swaylock"
hostmakedepends="pkg-config wayland-devel scdoc git"
makedepends="wayland-protocols cairo-devel gdk-pixbuf-devel pam-devel
libxkbcommon-devel wayland-devel libgomp-devel"
short_desc="Screen locker for Wayland (with effects)"
replaces=swaylock>=0
maintainer="Wallenstein <wallenstein@cringetech.net>"
license="MIT"
homepage="https://github.com/mortie/swaylock-effects"
changelog="${homepage}/releases"
distfiles="${homepage}/archive/refs/tags/v${version}-${revision}.tar.gz"
checksum=4f82c9d875ce20f1d58227ef65db60aacccb3fb29ce67c0f744849da68e82b20
wrksrc=${pkgname}-${version}-${revision}
post_install() {
vlicense LICENSE
}

View file

@ -0,0 +1,2 @@
#!/bin/sh
exec vlogger -t swayosd-libinput-backend -p daemon

View file

@ -0,0 +1,3 @@
#!/bin/sh
exec 2>&1
exec swayosd-libinput-backend

27
srcpkgs/swayosd/template Normal file
View file

@ -0,0 +1,27 @@
# Template file for 'swayosd'
pkgname=swayosd
_commit=dbb8b721fe43d2feca8a22cfac9a387a6c38a180
version=0.1.${_commit}
revision=1
build_style=meson
hostmakedepends="cargo ninja pkg-config"
makedepends="pulseaudio-devel"
depends="glib gtk+3 gtk-layer-shell libinput libevdev"
for item in ${depends[@]}; do
makedepends+=" ${item}-devel"
done
short_desc="GTK based on screen display"
maintainer="Wallenstein <wallenstein@cringetech.net>"
license="GPL-3.0-or-later"
homepage="https://github.com/ErikReider/SwayOSD"
distfiles="${homepage}/archive/${_commit}.tar.gz"
checksum=2c34fa8a3b1c431e06f32a2b537a6235928570700a97265fd615d6cdeab1eb96
post_install() {
vinstall data/dbus/org.erikreider.swayosd.conf 644 etc/dbus-1/system.d
vinstall data/udev/99-swayosd.rules 644 usr/lib/udev/rules.d
vinstall data/polkit/actions/org.erikreider.swayosd.policy.in 644 usr/share/polkit-1/actions org.erikreider.swayosd.policy
vinstall data/polkit/rules/org.erikreider.swayosd.rules 644 etc/polkit-1/rules.d
vinstall data/style/style.css 644 etc/xdg/swayosd
vsv swayosd-libinput-backend
}