commit 4508fbd48ef72adebda92815c464f512c37fa4d2
parent 603425170543bfd71c7935cb702629d455ea45c0
Author: Markus Hanetzok <markus@hanetzok.net>
Date: Sun, 14 Aug 2022 12:07:02 +0200
Change the install process for libxft-bgra
By running 'make install' libxft won't be replaced. Using the AUR
PKGBUILD for now since it uses the same source.
Diffstat:
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/zerog b/zerog
@@ -68,15 +68,11 @@ suckless() {
install_libxft-bgra() {
printf "### Installing libxft-bgra for emoji support <3 ###\n"
- cd /tmp
+ cd /opt
sudo -u "$name" git clone "$libxftrepo" >/dev/null 2>&1 ||
{ warning "Could not clone libxft-bgra"; return 1; }
cd libxft-bgra
- sudo -u "$name" sh autogen.sh --sysconfdir=/etc --prefix=/usr \
- --mandir=/usr/share/man >/dev/null 2>&1 ||
- { warning "Could not run autgen.sh"; return 1; }
- make install >/dev/null 2>&1 ||
- { warning "Could not make install"; return 1; }
+ yes | sudo -u "$name" makepkg -si
}
follow_up() {