summaryrefslogtreecommitdiff
path: root/pcr/eudev-systemdcompat/PKGBUILD
blob: a5284581b4cc6874e15668d31b3509f73c839bdc (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
# 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=4
_repo=https://repo.parabola.nu

pkgname=eudev-systemdcompat
pkgver=230
pkgrel=2.parabola3
pkgdesc="systemd client libraries without udev; systemd compatibility package"
arch=('i686' 'x86_64' 'armv7h')
license=('GPL2')
#groups=('eudev-base')
url="http://www.freedesktop.org/wiki/Software/systemd"
provides=("systemd=${pkgver}" "libsystemd=${pkgver}" "systemd-tools=${pkgver}" 'libsystemd.so')
depends=('glib2' 'glibc' 'libgcrypt' 'xz' 'eudev' 'lz4')
conflicts=('systemd-tools' 'systemd' 'libsystemd' 'openrc-systemdcompat')
replaces=('openrc-systemdcompat')

source_i686=("$_repo/libre/os/i686/libsystemd-standalone-$pkgver-${_spkgrel}.parabola2-i686.pkg.tar.xz"
             "$_repo/libre/os/i686/systemd-$pkgver-${_spkgrel}.parabola2-i686.pkg.tar.xz")
source_x86_64=("$_repo/libre/os/x86_64/libsystemd-standalone-$pkgver-${_spkgrel}.parabola2-x86_64.pkg.tar.xz"
               "$_repo/libre/os/x86_64/systemd-$pkgver-${_spkgrel}.parabola2-x86_64.pkg.tar.xz")
source_armv7h=("$_repo/libre/os/armv7h/libsystemd-standalone-$pkgver-${_spkgrel}.parabola2-armv7h.pkg.tar.xz"
               "$_repo/libre/os/armv7h/systemd-$pkgver-${_spkgrel}.parabola2-armv7h.pkg.tar.xz")
sha256sums_i686=('96645cfd446bc1045175ab03504fa7441ec6774cd122f8867055cfd2ed8da13c'
                 '4eea339c2f68f425e2d35e3fadb15cf75d187919b8f10922c29be7fae160a28b')
sha256sums_x86_64=('8d54f0a6ebe03b1a73f32f4cf071b8d6e4159066b9f5f8b200ecebd7a90f9263'
                   '014a5174b738ed1fa8a99bd4eaabd8164c0d14594816bbb92948739731289a16')
sha256sums_armv7h=('9585ee8433deccd6b267df8058ceacfdb2a7938902a2ee79cc92e209a5101716'
                   '3f6676f572092804fb36755821a39e4b22bbd8c689102e5016a1d91d4596b4bf')

prepare() {
	#clean libsystemd
	#rm usr/lib/libudev*.so*

	# clean systemd
	rm -r {etc,var,usr/{include,share}}
	#rm usr/lib/libnss*
	for d in usr/lib/*;do
            [[ -d $d ]] && rm -r $d
	done
	for f in usr/bin/*;do
		[[ $f != 'usr/bin/systemd-tmpfiles' && $f != 'usr/bin/systemd-sysusers' ]] && rm $f
	done
}

package() {
	mv "$srcdir/usr/" "$pkgdir"
}