Subject: [PATCH] community/plymouth: upgrade to 0.9.4 and cleanup

From: Bart Ribbers <[email-masked]>
Date: Sun, 29 Sep 2019 12:54:48 +0200

---
 community/plymouth/APKBUILD | 32 +++++++++-----------------------
 1 file changed, 9 insertions(+), 23 deletions(-)

diff --git a/community/plymouth/APKBUILD b/community/plymouth/APKBUILD
index 93aff927cd..c6335f584a 100644
--- a/community/plymouth/APKBUILD
+++ b/community/plymouth/APKBUILD
@@ -1,43 +1,31 @@
 # Contributor: 
 # Maintainer: Timo Teräs <[email-masked]>
 pkgname=plymouth
-pkgver=0.9.2
-pkgrel=3
+pkgver=0.9.4
+pkgrel=0
 pkgdesc="graphical bootsplash on linux"
 url="http://www.freedesktop.org/wiki/Software/Plymouth"
 arch="all"
-license="GPL"
-depends=""
+license="GPL-2.0-or-later"
 depends_dev="pango-dev gtk+3.0-dev libpng-dev libdrm-dev eudev-dev"
 makedepends="$depends_dev docbook-xsl autoconf automake libtool"
-install=""
-subpackages="$pkgname-dev $pkgname-doc $pkgname-themes $pkgname-x11:_render $pkgname-drm:_render"
-source="https://www.freedesktop.org/software/$pkgname/releases/$pkgname-$pkgver.tar.bz2
+subpackages="$pkgname-dev $pkgname-doc $pkgname-themes::noarch $pkgname-x11:_render $pkgname-drm:_render"
+source="https://www.freedesktop.org/software/plymouth/releases/plymouth-$pkgver.tar.xz
 	plymouth-rpmatch.patch
-	plymouth-git-master-20170123.patch
-	plymouth-add-sysmacros.patch
 	"
 
-builddir="$srcdir"/plymouth-$pkgver
-
-prepare() {
-	default_prepare
-	autoreconf -f -i -s
-}
-
 build() {
-	cd "$builddir"
 	./configure --prefix=/usr \
 		--sysconfdir=/etc \
 		--mandir=/usr/share/man \
 		--infodir=/usr/share/info \
 		--localstatedir=/var \
-		--with-system-root-install
+		--with-system-root-install \
+		--disable-systemd-integration
 	make
 }
 
 package() {
-	cd "$builddir"
 	make DESTDIR="$pkgdir" install
 
 	rm -f "$pkgdir"/usr/lib/plymouth/*.la
@@ -55,7 +43,5 @@ _render() {
 		"$subpkgdir"/usr/lib/plymouth/renderers
 }
 
-sha512sums="89356eb8326504fbf3155de262ce15de0847f0a0e6d157d873cf1dea9af464a6cb9e11d7143ee9a595b217a2487060b5835eba5ac142c3cd6d66689deb272e60  plymouth-0.9.2.tar.bz2
-ec1c32ddf7ee418ef1b5d173040db464193d9bca3fd85d5c3a8d2ee13ba1218947f7c9f39c403d3ccced70be28b2c7328e82dc8f967e9bdeea1651dee4be2dc7  plymouth-rpmatch.patch
-6545c29190b9cf04df0284a73c26ec7d14fddf2c4d7a8f3dff5242b49fafda24ee2aeab54b44b19deb9228707816b6b3779ea8bec7b742020cb1f7e2ca64b509  plymouth-git-master-20170123.patch
-b55d9bfad1de809334ee24a89496335e369e6e9a78eed2576ea93882d100dfddb09dbd05588fe478da6f9c50ae03c920defd8a352a93f2e149c39df1810a48c1  plymouth-add-sysmacros.patch"
+sha512sums="83eb2de7e6d0980e9f7fa4e0b0f20c46a8238051d84bc38dbbb5dfa438e41c1a39846dcd652374256d9f1fe79967b154a3576cd9c433ef816b6c962be2d31e93  plymouth-0.9.4.tar.xz
+ec1c32ddf7ee418ef1b5d173040db464193d9bca3fd85d5c3a8d2ee13ba1218947f7c9f39c403d3ccced70be28b2c7328e82dc8f967e9bdeea1651dee4be2dc7  plymouth-rpmatch.patch"
-- 
2.23.0