diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2018-07-11 15:10:56 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2018-07-12 15:47:28 -0400 |
commit | fccb16f61d90c29172eb689b1cac5e5ce6e6cfc9 (patch) | |
tree | 0cd347b0d62eb9441ea8366c9c0ea94b045a5664 /pcr/eudev | |
parent | 9f75a185ae0d69d8d6c0882b0c9f7ae3ff5a52ab (diff) | |
download | abslibre-fccb16f61d90c29172eb689b1cac5e5ce6e6cfc9.tar.gz abslibre-fccb16f61d90c29172eb689b1cac5e5ce6e6cfc9.tar.bz2 abslibre-fccb16f61d90c29172eb689b1cac5e5ce6e6cfc9.zip |
pcr/eudev: Rename libeudev->eudev-libudev, fixup provides/conflicts
Diffstat (limited to 'pcr/eudev')
-rw-r--r-- | pcr/eudev/PKGBUILD | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/pcr/eudev/PKGBUILD b/pcr/eudev/PKGBUILD index 8edba5b35..f3df759a7 100644 --- a/pcr/eudev/PKGBUILD +++ b/pcr/eudev/PKGBUILD @@ -6,9 +6,9 @@ _udev_ver=220 pkgbase=eudev -pkgname=('eudev' 'libeudev') +pkgname=('eudev' 'eudev-libudev') pkgver=3.2.5 -pkgrel=3 +pkgrel=4 pkgdesc="The userspace dev tools (udev) forked by Gentoo" arch=('i686' 'x86_64' 'armv7h') url="http://www.gentoo.org/proj/en/eudev/" @@ -59,11 +59,12 @@ build() { } package_eudev() { - provides=("udev=${_udev_ver}") - depends=("libeudev" 'kbd' 'kmod' 'hwids' 'util-linux') + depends=("eudev-libudev=$pkgver" 'kbd' 'kmod' 'hwids' 'util-linux') optdepends=('eudev-openrc: udev starup scripts for openrc') backup=('etc/udev/udev.conf') + provides=("udev=${_udev_ver}") + conflicts=('udev') cd "${srcdir}/${pkgbase}-${pkgver}" @@ -81,10 +82,15 @@ package_eudev() { install -Dm644 -t "$pkgdir"/usr/share/libalpm/hooks ${srcdir}/*.hook } -package_libeudev() { +package_eudev-libudev() { pkgdesc="eudev client libraries" depends=('glibc' 'libelf') provides=("libudev=${_udev_ver}" 'libudev.so') + conflicts=('libudev') + + provides+=("libeudev=$pkgver") + conflicts+=('libeudev') + replaces+=('libeudev') cd "${srcdir}/${pkgbase}-${pkgver}" make -C src/libudev DESTDIR="$pkgdir" install |