diff options
author | davidovski <david@davidovski.xyz> | 2022-03-10 11:59:16 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-03-10 11:59:16 +0000 |
commit | bb499959d88da1b3937c23b5405089c907188a81 (patch) | |
tree | d9ddba6d0c8f1152c3919067a52250c6bf0759f9 /repo/system/networkmanager.xibuild | |
parent | 3602ce227f784f1c6233ef6ad3cd8f5ccad28e66 (diff) |
added and patched broken packages
Diffstat (limited to 'repo/system/networkmanager.xibuild')
-rw-r--r-- | repo/system/networkmanager.xibuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/repo/system/networkmanager.xibuild b/repo/system/networkmanager.xibuild index 7abd804..63400e0 100644 --- a/repo/system/networkmanager.xibuild +++ b/repo/system/networkmanager.xibuild @@ -4,7 +4,7 @@ MAKEDEPS="grep meson ninja python intltool glib" DEPS="jansson libndp curl wpa_supplicant newt nss polkit libpsl audit dbus gobject-introspection dhcp" PKG_VER=1.35.5 -SOURCE=https://download.gnome.org/sources/NetworkManager/$(echo $PKG_VER | cut -d. -f-2)/NetworkManager-$PKG_VER.tar.xz +SOURCE=https://download.gnome.org/sources/NetworkManager/${PKG_VER%.*}/NetworkManager-$PKG_VER.tar.xz BOOTSCRIPTS=blfs-bootscripts-20210826 ADDITIONAL=" @@ -14,7 +14,7 @@ ADDITIONAL=" DESC="Network connection manager and user applications" prepare () { - grep -rl '^#!.*python$' | xargs sed -i '1s/python/&3/' + ggrep -rl '^#!.*python$' | xargs sed -i '1s/python/&3/' dbus-uuidgen --ensure } @@ -22,7 +22,6 @@ build () { mkdir build && cd build && - CXXFLAGS+="-O2 -fPIC" \ meson --prefix=/usr \ --buildtype=release \ -Dlibaudit=no \ @@ -42,7 +41,8 @@ build () { package () { DESTDIR=$PKG_DEST ninja install && - mv -v $PKG_DEST/usr/share/doc/NetworkManager{,-$PKG_VER} + mv $PKG_DEST/usr/share/doc/NetworkManager \ + $PKG_DEST/usr/share/doc/NetworkManager-$PKG_VER} # create minimum config file cat >> $PKG_DEST/etc/NetworkManager/NetworkManager.conf << "EOF" |