New package: libudev0-shim-1

This commit is contained in:
Andrew Benson 2023-04-20 20:41:43 -05:00
parent a0cfce9253
commit b6adda5670
2 changed files with 20 additions and 0 deletions

View File

@ -217,6 +217,7 @@ libpcrecpp.so.0 libpcrecpp-7.8_1
libgirepository-gimarshallingtests-1.0.so libgirepository-1.30_1
libgirepository-everything-1.0.so libgirepository-1.30_1
libgirepository-1.0.so.1 libgirepository-1.30_1
libudev.so.0 libudev0-shim-1_1
libudev.so.1 eudev-libudev-1.6_1
libgudev-1.0.so.0 libgudev-230_1
libumockdev.so.0 libumockdev-0.17.6_1

View File

@ -0,0 +1,19 @@
# Template file for 'libudev0-shim'
pkgname=libudev0-shim
version=1
revision=1
build_style=gnu-makefile
make_use_env=yes
hostmakedepends="patchelf"
makedepends="eudev-libudev-devel"
short_desc="Compability library shim for libudev.so.0"
maintainer="Andrew Benson <abenson@gmail.com>"
license="LGPL-2.1-or-later"
homepage="https://github.com/archlinux/libudev0-shim"
distfiles="https://github.com/archlinux/libudev0-shim/archive/v${version}.tar.gz"
checksum=24a1072fa437935d6c4e1d9c1ce84f4ad1d7be45026f6ee7b0b3d77ec0f66e3c
do_install() {
patchelf --add-needed libudev.so.1 libudev.so.0.0.9999
vinstall libudev.so.0.0.9999 0755 usr/lib libudev.so.0
}