From b1359f0623ca30111f116233bd5b86fc88b3eef5 Mon Sep 17 00:00:00 2001 From: David P Date: Fri, 22 Feb 2019 16:14:01 -0300 Subject: systemd-dummy: become a split package containing systemd-dummy and systemd-libs-dummy And update the comments. The pad has the default template (so it isn't useful) and "Does not do anything with libsystemd" was, in fact, refering to libsystemd.so Also, notsystemd-libsystemd is no longer in the repos. Signed-off-by: David P --- pcr/systemd-dummy/PKGBUILD | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) (limited to 'pcr/systemd-dummy') diff --git a/pcr/systemd-dummy/PKGBUILD b/pcr/systemd-dummy/PKGBUILD index bc3fa3fe0..eac04d919 100644 --- a/pcr/systemd-dummy/PKGBUILD +++ b/pcr/systemd-dummy/PKGBUILD @@ -1,8 +1,7 @@ # Maintainer: Freemor +# Maintainer: David P. # Contributor: Luke Shumaker -# https://pad.riseup.net/p/ParabolaSystemdDependants - # Notes: # - Does *NOT* provide a specific version of systemd; if a package # depends on a specific version, it probably is a "real" dependency, @@ -14,17 +13,30 @@ # or ABI, and no package outside of pkgbase=systemd cares about it. # It's absolutely silly that Artix Linux's systemd-dummy package # includes that file. -# - Does not do anything with libsystemd. We have more finely split -# packages than Arch ( (not)systemd-libsystemd / libsystemd.so). +# - Does not do anything with libsystemd.so We have more finely split +# packages than Arch (systemd-libsystemd). # - Sets epoch=1 to allow upgrading from Artix systemd-dummy, which # sets pkgver=$systemd_version -pkgname=systemd-dummy -pkgdesc="An empty package that provides 'systemd' to satisfy packages that erronously depend on it" +pkgbase=systemd-dummy +pkgname=(systemd-dummy systemd-libs-dummy) +pkgdesc='An empty package that provides '"'pkgname'"' to satisfy packages that erronously depend on it' url='https://parabola.nu/' -provides=('systemd') license=('custom:Public Domain') epoch=1 pkgver=1 pkgrel=1 arch=(any) + +package_systemd-dummy() { + pkgdesc="${pkgdesc/pkgname/${pkgname%-dummy}}" + provides=(${pkgname%-dummy}) +} + +package_systemd-libs-dummy() { + pkgdesc="${pkgdesc/pkgname/${pkgname%-dummy}}" + depends=(libsystemd.so) + provides=(libsystemd ${pkgname%-dummy}) + conflicts=(libsystemd-dummy) + replaces=(${conflicts[@]}) +} -- cgit v1.2.3