From f2939cebb2398331c4507e275e94c1daa6e39bce Mon Sep 17 00:00:00 2001 From: aliriza Date: Wed, 15 Nov 2023 09:24:34 +0000 Subject: [PATCH] fixes and remove bloats --- dev/python/py3-distro/ympbuild | 29 ++++++++++++++++++++++++ kde/plasma/breeze-plymouth/ympbuild | 34 ----------------------------- kde/plasma/drkonqi/ympbuild | 34 ----------------------------- kde/plasma/kscreenlocker/kde-np.pam | 6 ++--- kde/plasma/kscreenlocker/kde.pam | 8 +++---- kde/plasma/ksshaskpass/ympbuild | 34 ----------------------------- 6 files changed, 36 insertions(+), 109 deletions(-) create mode 100644 dev/python/py3-distro/ympbuild delete mode 100644 kde/plasma/breeze-plymouth/ympbuild delete mode 100644 kde/plasma/drkonqi/ympbuild delete mode 100644 kde/plasma/ksshaskpass/ympbuild diff --git a/dev/python/py3-distro/ympbuild b/dev/python/py3-distro/ympbuild new file mode 100644 index 00000000..070a58b6 --- /dev/null +++ b/dev/python/py3-distro/ympbuild @@ -0,0 +1,29 @@ +#!/usr/bin/env bash +name='py3-distro' +release='1' +version='1.8.0' +url='https://github.com/python-distro/distro' +description="A much more elaborate replacement for removed Python\'s platform.linux_distribution() method " +email='aliriza.keskin@pardus.org.tr' +maintainer='aliriza' +license=('GPLv3') +source=("https://github.com/python-distro/distro/archive/refs/tags/v1.8.0.tar.gz") +depends=(python) +makedepends=() +md5sums=('6b97136f88a0549a98dfc46dc0b99281') +group=(dev.python) +uses=() +arch=('x86_64') + +cd distro-$version + + +build () { + python -m build --wheel + make $jobs +} + +package () { + python -m installer --destdir="${DESTDIR}" dist/*.whl +} + diff --git a/kde/plasma/breeze-plymouth/ympbuild b/kde/plasma/breeze-plymouth/ympbuild deleted file mode 100644 index 36035cc7..00000000 --- a/kde/plasma/breeze-plymouth/ympbuild +++ /dev/null @@ -1,34 +0,0 @@ -#!/usr/bin/env bash -name='breeze-plymouth' -release='1' -version='5.27.9' -url='https://kde.org/plasma-desktop' -description='Breeze theme for Plymouth' -email='akarsu@protonmail.com' -maintainer='akarsu' -license=('GPLv2') -source=("https://download.kde.org/stable/plasma/${version}/breeze-plymouth-${version}.tar.xz") -depends=(plymouth) -makedepends=(extra-cmake-modules) -md5sums=('f1450b508f2390e3537c155e3f8cd53b') -group=(kde.plasma) -uses=() -arch=('x86_64') - -cd $name-$version - -setup () { -cmake -B build -G Ninja \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DBUILD_TESTING=OFF -} - -build () { - cmake --build build -} - -package () { - INSTALL_ROOT="$DESTDIR" cmake --install build -} - diff --git a/kde/plasma/drkonqi/ympbuild b/kde/plasma/drkonqi/ympbuild deleted file mode 100644 index 43e914f0..00000000 --- a/kde/plasma/drkonqi/ympbuild +++ /dev/null @@ -1,34 +0,0 @@ -#!/usr/bin/env bash -name='drkonqi' -release='1' -version='5.27.9' -url='https://kde.org/plasma-desktop' -description='The KDE crash handler' -email='akarsu@protonmail.com' -maintainer='akarsu' -license=('GPLv2') -source=("https://download.kde.org/stable/plasma/${version}/drkonqi-${version}.tar.xz") -depends=(kidletime syntax-highlighting kirigami2 kitemmodels kuserfeedback kio py3-distro py3-psutil qt5-tools) -makedepends=(extra-cmake-modules) -md5sums=('119a1ef17f748a4a3d64b306f3e651a1') -group=(kde.plasma) -uses=() -arch=('x86_64') - -cd $name-$version - -setup () { -cmake -B build -G Ninja \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DBUILD_TESTING=OFF -} - -build () { - cmake --build build -} - -package () { - INSTALL_ROOT="$DESTDIR" cmake --install build -} - diff --git a/kde/plasma/kscreenlocker/kde-np.pam b/kde/plasma/kscreenlocker/kde-np.pam index 07b7861e..5e4f5036 100644 --- a/kde/plasma/kscreenlocker/kde-np.pam +++ b/kde/plasma/kscreenlocker/kde-np.pam @@ -3,8 +3,8 @@ auth required pam_nologin.so auth required pam_permit.so -account include base-account +account include system-auth -password include base-password +password include system-auth -session include base-session-noninteractive +session include system-auth diff --git a/kde/plasma/kscreenlocker/kde.pam b/kde/plasma/kscreenlocker/kde.pam index 6a8ab187..d32b3f72 100644 --- a/kde/plasma/kscreenlocker/kde.pam +++ b/kde/plasma/kscreenlocker/kde.pam @@ -2,10 +2,10 @@ auth required pam_nologin.so -auth include base-auth +auth include system-auth -account include base-account +account include system-auth -password include base-password +password include system-auth -session include base-session-noninteractive \ No newline at end of file +session include system-auth diff --git a/kde/plasma/ksshaskpass/ympbuild b/kde/plasma/ksshaskpass/ympbuild deleted file mode 100644 index 2b714872..00000000 --- a/kde/plasma/ksshaskpass/ympbuild +++ /dev/null @@ -1,34 +0,0 @@ -#!/usr/bin/env bash -name='ksshaskpass' -release='1' -version='5.27.9' -url='https://kde.org/plasma-desktop' -description='ssh-add helper that uses kwallet and kpassworddialog' -email='akarsu@protonmail.com' -maintainer='akarsu' -license=('GPLv2') -source=("https://download.kde.org/stable/plasma/${version}/ksshaskpass-${version}.tar.xz") -depends=(kwallet) -makedepends=(extra-cmake-modules kdoctools) -md5sums=('91d2157906d3b877339bd89bb59c2fe5') -group=(kde.plasma) -uses=() -arch=('x86_64') - -cd $name-$version - -setup () { -cmake -B build -G Ninja \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DBUILD_TESTING=OFF -} - -build () { - cmake --build build -} - -package () { - INSTALL_ROOT="$DESTDIR" cmake --install build -} -