summaryrefslogtreecommitdiff
path: root/pcr/eudev-systemdcompat/PKGBUILD
blob: 1b49220ad58799cffc7cabbddf8470156967c0f1 (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
# Maintainer           : freaj <freaj@riseup.net>
# 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>

_spkgrel=8

pkgname=eudev-systemdcompat
pkgver=217
pkgrel=4
pkgdesc="systemd client libraries without udev; systemd compatibility package"
arch=('i686' 'x86_64')
license=('GPL2')
groups=('eudev-base')
url="http://www.freedesktop.org/wiki/Software/systemd"
provides=("libsystemd=${pkgver}"
            "systemd=${pkgver}"
            "systemd-tools=${pkgver}"
            'libsystemd.so'
            'libsystemd-daemon.so'
            'libsystemd-id128.so'
            'libsystemd-journal.so'
            'libsystemd-login.so')
depends=('glib2' 'glibc' 'libgcrypt' 'xz' 'eudev>=1.10')
optdepends=('eudev-openrc: eudev initscript'
            'upower-pm-utils: pm-utils support')
conflicts=('systemd'
	  'systemd-tools'
	  'libsystemd')

if [ "$CARCH" = "i686" ]; then
    source=("http://seblu.net/a/arm/2014/12/01/core/os/i686/libsystemd-$pkgver-${_spkgrel}-i686.pkg.tar.xz")
    sha256sums=('d152416683063681072ae1dbbb3d61e267eb523765a6f0bf81cea457a585edff')
elif [ "$CARCH" = "x86_64" ]; then
    source=("http://seblu.net/a/arm/2014/12/01/core/os/x86_64/libsystemd-$pkgver-${_spkgrel}-x86_64.pkg.tar.xz")
    sha256sums=('3bda8ac94e23f3b3b73de9d2aff6b2e23d601007302e80893a31c9502505cd3e')
fi

prepare() {
  rm usr/lib/lib{g,}udev*.so*
}

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