diff --git a/srcpkgs/xdg-prefs/files/xdg-prefs.desktop b/srcpkgs/xdg-prefs/files/xdg-prefs.desktop new file mode 100644 index 00000000000000..413fdb9ab58b9e --- /dev/null +++ b/srcpkgs/xdg-prefs/files/xdg-prefs.desktop @@ -0,0 +1,6 @@ +[Desktop Entry] +Name=XDG-Prefs +Exec=/usr/bin/xdg-prefs +Terminal=false +Type=Application +Categories=Settings;DesktopSettings; diff --git a/srcpkgs/xdg-prefs/template b/srcpkgs/xdg-prefs/template new file mode 100644 index 00000000000000..d59d65ce603834 --- /dev/null +++ b/srcpkgs/xdg-prefs/template @@ -0,0 +1,17 @@ +# Template file for 'xdg-prefs' +pkgname=xdg-prefs +version=0.3 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-setuptools python3-poetry-core" +depends="python3 python3-pyside6 python3-pyside6-widgets" +short_desc="GUI tool to view and edit default apps via XDG specs" +maintainer="Bo-Ru Ju " +license="Apache-2.0" +homepage="https://github.com/rchaput/xdg-prefs" +distfiles="https://github.com/rchaput/xdg-prefs/archive/refs/tags/v${version}.tar.gz" +checksum=00d9fe8b5ebdbefb6c1451f1cc67309f6d26eef52578cb03b430827ec4ebe069 + +post_install() { + vinstall "${FILESDIR}/xdg-prefs.desktop" 644 usr/share/applications +}