summaryrefslogtreecommitdiff
path: root/pcr/eudev-systemdcompat/PKGBUILD
blob: 9df92aa4ce478d28cc2cbb15a89e4bacb410b21b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Maintainer (Manjaro): artoo <artoo@manjaro.org>
# Contributor (Manjaro): Philip Müller <philm|manjaro|org>
# Contributor (Manjaro): Dave Reisner <dreisner@archlinux.org>
# Contributor (Manjaro): Tom Gundersen <teg@jklm.no>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>

_spkgrel=1
_repo=https://repo.parabola.nu

pkgbase=eudev-systemdcompat
pkgname=('eudev-systemd' 'libeudev-systemd')
pkgver=231
pkgrel=7.parabola1
arch=('i686' 'x86_64' 'armv7h')
license=('GPL2')
url="http://www.freedesktop.org/wiki/Software/systemd"
source_i686=("$_repo/libre/os/i686/libsystemd-standalone-$pkgver-${_spkgrel}.parabola1-i686.pkg.tar.xz"
             "$_repo/libre/os/i686/systemd-$pkgver-${_spkgrel}.parabola1-i686.pkg.tar.xz")
source_x86_64=("$_repo/libre/os/x86_64/libsystemd-standalone-$pkgver-${_spkgrel}.parabola1-x86_64.pkg.tar.xz"
               "$_repo/libre/os/x86_64/systemd-$pkgver-${_spkgrel}.parabola1-x86_64.pkg.tar.xz")
source_armv7h=("$_repo/libre/os/armv7h/libsystemd-standalone-$pkgver-${_spkgrel}.parabola1-armv7h.pkg.tar.xz"
               "$_repo/libre/os/armv7h/systemd-$pkgver-${_spkgrel}.parabola1-armv7h.pkg.tar.xz")
sha256sums_i686=('4df661efdb0d1ecffe91e06ab3060edb62de97bfd29b427d210073d11b5ec25e'
                 'd0a4ffbfc01551a55c04bcba4dac5faed293ad722a2b09f7f4bec1f2c4a3b717')
sha256sums_x86_64=('82598da0bb538479b4529b7a0b799cc08785217e80643279724def5f63932535'
                   'c2108b5a464fa0cf28906aa697ea47f5f7bbde7bbc8690b017bdc2b94bfff0d3')
sha256sums_armv7h=('e7d84b08bb781aa2aa2fb8fbc76371ec23c1df6e09adb5238a2500dba29c77e1'
                   'bc73584201bfaec1ca0cfdbb8945798a28dd24cfa7a36368e29b3ee89c8df81c')

package_eudev-systemd() {
	pkgdesc="systemd-sysuser and systemd-tmpfiles binary; systemd compatibility package"
	provides=("systemd=${pkgver}" "systemd-tools=${pkgver}")
	depends=('eudev' 'libseccomp')
	conflicts=('systemd-tools' 'systemd' 'eudev-systemdcompat')
	replaces=('eudev-systemdcompat')

	install -d "$pkgdir"/usr/{bin,lib/systemd}
	for f in usr/bin/{systemd-tmpfiles,systemd-sysusers};do
		mv -v $f "$pkgdir"/usr/bin
	done
	for f in usr/lib/systemd/libsystemd-shared*.so*;do
		mv -v $f $pkgdir/usr/lib/systemd
	done
}

package_libeudev-systemd() {
	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=('eudev-systemdcompat')

	install -d $pkgdir/usr/lib/systemd/boot/efi
	for f in usr/lib/libsystemd*.so*;do
		mv -v $f $pkgdir/usr/lib
	done
}