diff --git a/libudev0-shim/.footprint b/libudev0-shim/.footprint new file mode 100644 index 000000000..c0f7ce866 --- /dev/null +++ b/libudev0-shim/.footprint @@ -0,0 +1,4 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib/ +lrwxrwxrwx root/root usr/lib/libudev.so.0 -> libudev.so.0.0.9999 +-rwxr-xr-x root/root usr/lib/libudev.so.0.0.9999 diff --git a/libudev0-shim/.signature b/libudev0-shim/.signature new file mode 100644 index 000000000..3bc5e8c7d --- /dev/null +++ b/libudev0-shim/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF3/0nXod3C8Sy4MVLhcUu5URalJLr9n85x3/6vC1B1VnaaLdsiZfSZ0o18oKgEAZGUO0yIlT6DnEFt0gpA5IrfgI= +SHA256 (Pkgfile) = 91cf6ce19924547ad4a7da0104b95809f58edde1440c61359faeaffc5fa00d48 +SHA256 (.footprint) = 3eba97a0c1b45f5546e9aad56b32e291f0f5c3c1f7f9fde31cdf614dff98af7c +SHA256 (libudev0-shim-1.tar.gz) = 24a1072fa437935d6c4e1d9c1ce84f4ad1d7be45026f6ee7b0b3d77ec0f66e3c diff --git a/libudev0-shim/Pkgfile b/libudev0-shim/Pkgfile new file mode 100644 index 000000000..f01dc3669 --- /dev/null +++ b/libudev0-shim/Pkgfile @@ -0,0 +1,17 @@ +# Description: libudev.so.0 compatibility library for systems with newer udev versions +# URL: https://github.com/archlinux/libudev0-shim +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: eudev + +name=libudev0-shim +version=1 +release=1 +source=(https://github.com/archlinux/libudev0-shim/archive/v$version/$name-$version.tar.gz) + +build() { + cd $name-$version + unset LDFLAGS + make + install -Dm 755 libudev.so.0.0.9999 -t $PKG/usr/lib + ln -s libudev.so.0.0.9999 $PKG/usr/lib/libudev.so.0 +}