From e2b4989044a2eff61dbef717aa589e67b1916609 Mon Sep 17 00:00:00 2001 From: David P Date: Fri, 11 May 2018 12:35:57 -0300 Subject: pcr/systemdcompat: add package Signed-off-by: David P --- pcr/systemdcompat/PKGBUILD | 55 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 pcr/systemdcompat/PKGBUILD (limited to 'pcr/systemdcompat') diff --git a/pcr/systemdcompat/PKGBUILD b/pcr/systemdcompat/PKGBUILD new file mode 100644 index 000000000..5435cf8ef --- /dev/null +++ b/pcr/systemdcompat/PKGBUILD @@ -0,0 +1,55 @@ +# Maintainer (Artix): artoo +# Contributor (Artix): Philip Müller +# Contributor (Arch): Dave Reisner +# Contributor (Arch): Tom Gundersen +# Maintainer: David P. + +_spkgrel=1.parabola1 +_repo=https://repo.parabola.nu/libre/os + +pkgbase=systemdcompat +pkgname=('systemd-dummy' 'libsystemd-dummy') +pkgver=238.76 +pkgrel=1 +pkgrel+=.parabola1 +arch=('x86_64' 'i686' 'armv7h') +license=('GPL2') +url="http://www.freedesktop.org/wiki/Software/systemd" +source_x86_64=("$_repo/x86_64/libsystemd-standalone-$pkgver-${_spkgrel}-x86_64.pkg.tar.xz" + "$_repo/x86_64/systemd-$pkgver-${_spkgrel}-x86_64.pkg.tar.xz") +source_i686=("$_repo/i686/libsystemd-standalone-$pkgver-${_spkgrel}-i686.pkg.tar.xz" + "$_repo/i686/systemd-$pkgver-${_spkgrel}-i686.pkg.tar.xz") +source_armv7h=("$_repo/armv7h/libsystemd-standalone-$pkgver-${_spkgrel}-armv7h.pkg.tar.xz" + "$_repo/armv7h/systemd-$pkgver-${_spkgrel}-armv7h.pkg.tar.xz") +sha256sums_x86_64=('3edd5db99841b33f8bd642fd4d0485c2b193632ba4422202b3f2a804a622ed41' + '846192d62ecc76973c8bf1e0d636de229dcc217d2b3c91de1d3ecfae3458b78e') +sha256sums_i686=('8f55127e661875ba0347901c5ffac1deb3b1b8454e8c4d0a4961000b03981ab4' + 'c0f3e01a4bf477c2d01b6239ee3c0d4b51e30d7459b5491693fb5c18755be5d6') +sha256sums_armv7h=('b0a606b4664047ca1d49462a590fedb4a5d13034ca733860f3f4bbe420f13435' + 'd80fdecdf8af82a83356c3ed6f6294b455f8685efdcf01c614f8e01fe772eb75') + +package_systemd-dummy() { + pkgdesc="systemd shared libraries; systemd compatibility package" + provides=("systemd=${pkgver}" "systemd-tools=${pkgver}") + depends=('eudev' 'libseccomp') + conflicts=('systemd-tools' 'systemd' 'eudev-systemdcompat') + replaces=('eudev-systemd') + + install -d "$pkgdir"/usr/lib/systemd + for f in usr/lib/systemd/libsystemd-shared*.so*;do + mv -v $f $pkgdir/usr/lib/systemd + done +} + +package_libsystemd-dummy() { + pkgdesc="systemd client libraries without udev; systemd compatibility package" + provides=("libsystemd=${pkgver}" 'libsystemd.so') + depends=('glibc' 'libcap' 'libgcrypt' 'lz4' 'xz' 'libeudev') + conflicts=('libsystemd' 'eudev-systemdcompat') + replaces=('libeudev-systemd') + + install -d $pkgdir/usr/lib + for f in usr/lib/libsystemd*.so*;do + mv -v $f $pkgdir/usr/lib + done +} -- cgit v1.2.3