From 746f730e9fd983a3dfd2a2ca77944e8f9b60f9b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= Date: Sat, 1 Jul 2023 22:39:03 +0200 Subject: [PATCH] linux-driver-management: move sddm setup to examples do not overwrite sddm file --- srcpkgs/linux-driver-management/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/linux-driver-management/template b/srcpkgs/linux-driver-management/template index 0a8859cb73b..33396a0b9be 100644 --- a/srcpkgs/linux-driver-management/template +++ b/srcpkgs/linux-driver-management/template @@ -1,7 +1,7 @@ # Template file for 'linux-driver-management' pkgname=linux-driver-management version=1.0.3 -revision=2 +revision=3 # Tests require unpackaged umockdev # https://github.com/martinpitt/umockdev build_style=meson @@ -23,6 +23,11 @@ if [ "$CROSS_BUILD" ]; then hostmakedepends+=" glib-devel" fi +post_install() { + mkdir -p ${DESTDIR}/usr/share/examples/sddm/scripts + mv ${DESTDIR}/usr/share/sddm/scripts/Xsetup ${DESTDIR}/usr/share/examples/sddm/scripts/Xsetup +} + linux-driver-management-devel_package() { depends="${sourcepkg}>=${version}_${revision}" short_desc+=" - Development files"