Skip to content

Commit 8dce193

Browse files
committed
new package: libudev-zero
1 parent 7813112 commit 8dce193

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

srcpkgs/libudev-zero/template

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Template file for 'libudev-zero'
2+
pkgname=libudev-zero
3+
version=1.0.1
4+
revision=1
5+
build_style=gnu-makefile
6+
short_desc="Daemonless replacement for libudev"
7+
maintainer="dkwo <npiazza@disroot.org>"
8+
license="ISC"
9+
homepage="https://github.com/illiliti/libudev-zero"
10+
distfiles="https://github.com/illiliti/libudev-zero/archive/refs/tags/${version}.tar.gz"
11+
checksum=c4cf149ea96295c1e6e86038d10c725344c751982ed4a790b06c76776923e0ea
12+
make_check=no # no tests
13+
replaces="eudev-libudev>=3.2.11_1"
14+
#provides
15+
16+
post_build() {
17+
"$CC" $LDFLAGS $CFLAGS $CPPFLAGS -o libudev-zero-helper contrib/helper.c
18+
}
19+
20+
post_install() {
21+
rm -f ${DESTDIR}/usr/lib/libudev.a
22+
vlicense LICENSE
23+
vinstall libudev-zero-helper 755 usr/libexec
24+
}

0 commit comments

Comments
 (0)