20 lines
652 B
Bash
20 lines
652 B
Bash
# 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
|
|
}
|