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

pkgbase=eudev-systemdcompat
pkgname=('eudev-systemd' 'libeudev-systemd')
pkgver=231
pkgrel=10.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=('719e22eaf39cda44dba6646d0e5c900dc4709a30f1acc4a2b8da404c86a32edf'
                 '90db2eb25b17f7590e469a7fea0c67f753c4f1b850c22956967222d1720ab40f')
sha256sums_x86_64=('ef819fdef2aebc3a5e32381c384922638052db2d8ca8a14fa804ee1c599012e6'
                   '7b6d92bbf30d4ab4b4190ef94536730b5c7b2d2ec4eaf58015c97455f3c86327')
sha256sums_armv7h=('79de580ea74fc3abe140cf57b26055b20feb63c24847b7a1aabffdbdd0d828ee'
                   '4eb7564bab295c00220714b60a475d7d033ee962f7575413311ad9018ea58434')

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
    for f in usr/lib/libsystemd*.so*;do
        mv -v $f $pkgdir/usr/lib
    done
}