New package: basu-0.2.0

This commit is contained in:
Anubhav Kini 2021-05-05 22:34:05 +05:30 committed by Érico Nogueira Rolim
parent 7371e9c9f2
commit debd49c10f
4 changed files with 36 additions and 0 deletions

View File

@ -3986,3 +3986,4 @@ libgumbo.so.1 gumbo-parser-0.10.1_2
libmariadb.so.3 libmariadbclient-10.5.9_1
libmariadbd.so.19 libmariadbclient-10.5.9_1
libinstpatch-1.0.so.2 libinstpatch-1.1.6_1
libbasu.so.0 basu-0.2.0_1

1
srcpkgs/basu-devel Symbolic link
View File

@ -0,0 +1 @@
basu

View File

@ -0,0 +1,11 @@
--- src/basic/user-util.h
+++ src/basic/user-util.h
@@ -17,7 +17,7 @@ char* uid_to_name(uid_t uid);
#define UID_INVALID ((uid_t) -1)
-#define UID_NOBODY ((uid_t) 65534U)
+#define UID_NOBODY ((uid_t) 99U)
bool synthesize_nobody(void);

23
srcpkgs/basu/template Normal file
View File

@ -0,0 +1,23 @@
# Template file for 'basu'
pkgname=basu
version=0.2.0
revision=1
build_style=meson
configure_args="-Dwerror=false"
hostmakedepends="gperf"
short_desc="SD-Bus library extracted from systemd"
maintainer="Anubhav Kini <anubhavkini@gmail.com>"
license="LGPL-2.1-or-later"
homepage="https://github.com/emersion/basu"
distfiles="${homepage}/releases/download/v${version}/${pkgname}-${version}.tar.gz"
checksum=e2fda9b69fc6c4530173fcf8db94c29aa5f3ed932d948cc6a31892623cde5e4b
basu-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}