void-packages/srcpkgs/libudev0-shim/template

20 lines
659 B
Bash

# Template file for 'libudev0-shim'
pkgname=libudev0-shim
version=2
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+void@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=c55e5bcb82f02578c059c825946eca634d81e49fb22b2a0c1d791dc57e04b9c7
do_install() {
patchelf --add-needed libudev.so.1 libudev.so.0.13.9999
vinstall libudev.so.0.13.9999 0755 usr/lib libudev.so.0
}