aboutsummaryrefslogtreecommitdiff
path: root/system/powerline-fonts
diff options
context:
space:
mode:
authorIsaac Yu <isaacyu1@isaacyu1.com>2023-03-09 12:09:32 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-03-12 08:48:17 +0700
commit745c82538ceae01f7e10911bdc578fe0e2518f34 (patch)
tree23c1d79768271c287d2b9253d07feb6eb483b89d /system/powerline-fonts
parent2e4b0de7b773e59ff8f25f54469895bc512b5c23 (diff)
system/powerline-fonts: Fix conf files' locations.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/powerline-fonts')
-rw-r--r--system/powerline-fonts/powerline-fonts.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/system/powerline-fonts/powerline-fonts.SlackBuild b/system/powerline-fonts/powerline-fonts.SlackBuild
index 507d2fff208c6..dfe2838f2d735 100644
--- a/system/powerline-fonts/powerline-fonts.SlackBuild
+++ b/system/powerline-fonts/powerline-fonts.SlackBuild
@@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=powerline-fonts
VERSION=${VERSION:-2.8.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -59,10 +59,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-mkdir -p "$PKG/usr/share/fontconfig/conf.default" "$PKG/usr/share/fonts/OTF" "$PKG/usr/share/fontconfig/conf.avail"
+mkdir -p "$PKG/etc/fonts/conf.d" "$PKG/usr/share/fonts/OTF" "$PKG/etc/fonts/conf.avail"
cp -r "font/PowerlineSymbols.otf" "$PKG/usr/share/fonts/OTF/PowerlineSymbols.otf"
-cp -r "font/10-powerline-symbols.conf" "$PKG/usr/share/fontconfig/conf.avail/10-powerline-symbols.conf"
-ln -s "../conf.avail/10-powerline-symbols.conf" "$PKG/usr/share/fontconfig/conf.default/10-powerline-symbols.conf"
+cp -r "font/10-powerline-symbols.conf" "$PKG/etc/fonts/conf.avail/10-powerline-symbols.conf"
+ln -s "../conf.avail/10-powerline-symbols.conf" "$PKG/etc/fonts/conf.d/10-powerline-symbols.conf"
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true