From e5fbbb2948f10dcf10a9f90e70ba1c5f1997e7a1 Mon Sep 17 00:00:00 2001
From: psykose <alice@ayaya.dev>
Date: Thu, 29 Jun 2023 03:26:11 +0000
Subject: [PATCH] community/lightdm: remove dead sed

does nothing after previous patches
---
 community/lightdm/APKBUILD | 16 +++-------------
 1 file changed, 3 insertions(+), 13 deletions(-)

diff --git a/community/lightdm/APKBUILD b/community/lightdm/APKBUILD
index 02c6d1ef6204..f4f1ba6935fc 100644
--- a/community/lightdm/APKBUILD
+++ b/community/lightdm/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
 pkgname=lightdm
 pkgver=1.32.0
-pkgrel=2
+pkgrel=3
 pkgdesc="cross-desktop display manager"
 url="https://www.freedesktop.org/wiki/Software/LightDM"
 # s390x: mainframe
@@ -40,7 +40,7 @@ subpackages="
 	$pkgname-openrc
 	$pkgname-qt5
 	$pkgname-qt5-dev:qt5_dev
-	$pkgname-bash-completion:bashcomp:noarch
+	$pkgname-bash-completion
 	"
 source="https://github.com/CanonicalLtd/lightdm/releases/download/$pkgver/lightdm-$pkgver.tar.xz
 	musl-language.patch
@@ -68,7 +68,6 @@ build() {
 
 package() {
 	make DESTDIR="$pkgdir" install
-	sed -i "s/pam_systemd/pam_elogind/" "$pkgdir"/etc/pam.d/*
 	ln -s /etc/X11/xinit/Xsession "$pkgdir"/usr/bin/lightdm-session
 	install -Dm755 "$srcdir"/lightdm.initd "$pkgdir"/etc/init.d/lightdm
 	install -o lightdm -g lightdm -d "$pkgdir"/var/lib/lightdm-data
@@ -76,8 +75,7 @@ package() {
 }
 
 qt5() {
-	mkdir -p "$subpkgdir"/usr/lib
-	mv "$pkgdir"/usr/lib/liblightdm-qt5* "$subpkgdir"/usr/lib
+	amove usr/lib/liblightdm-qt5*
 }
 
 qt5_dev() {
@@ -87,14 +85,6 @@ qt5_dev() {
 	mv "$pkgdir"/../$pkgname-dev/usr/lib/pkgconfig/liblightdm-qt5-3.pc "$subpkgdir"/usr/lib/pkgconfig/
 }
 
-bashcomp() {
-	depends=""
-	pkgdesc="Bash completions for $pkgname"
-	install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
-
-	amove usr/share/bash-completion/completions
-}
-
 sha512sums="
 81497fb25904bc2e8687dc99992628eb534f7418f72e1908c4766e917fc1221714210d998739417e1cae2ee15e3197a2eb8d4981cb944cfeb0334dc9e356e716  lightdm-1.32.0.tar.xz
 592d630bdabeed304f8b677ceb0ebd2a6ab0930baae473814aafb0d58b7e28a79c8c667f18a656a460132c48a9fee90be7eebd50f835ea641d6d99387b28310a  musl-language.patch
-- 
GitLab