Skip to content

Commit b32cfd9

Browse files
committed
new package: libudev-zero
1 parent e40b6a1 commit b32cfd9

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

srcpkgs/libudev-zero/template

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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+
conflicts="eudev-libudev-devel>=3.2.11_1"
14+
15+
post_build() {
16+
"$CC" $LDFLAGS $CFLAGS $CPPFLAGS -o libudev-zero-helper contrib/helper.c
17+
}
18+
19+
post_install() {
20+
rm -f ${DESTDIR}/usr/lib/libudev.a
21+
vlicense LICENSE
22+
vinstall libudev-zero-helper 755 usr/libexec
23+
}

0 commit comments

Comments
 (0)