libudev-zero: add hotplug helper

This commit is contained in:
Ella-0 2021-06-24 21:12:22 +00:00
parent 5225818a6e
commit c59cbaa1c8

View file

@ -9,11 +9,15 @@ fetch() {
build() { build() {
cd $pkgname-$pkgver cd $pkgname-$pkgver
make make
cd contrib
cc helper.c -o libudev-zero-hotplug-helper
} }
package() { package() {
cd $pkgname-$pkgver cd $pkgname-$pkgver
make install PREFIX=/usr DESTDIR=$pkgdir make install PREFIX=/usr DESTDIR=$pkgdir
install -d $pkgdir/usr/sbin
install -Dm755 ./contrib/libudev-zero-hotplug-helper $pkgdir/usr/sbin/
} }
license() { license() {