aboutsummaryrefslogtreecommitdiff
path: root/system/powerline-fonts
diff options
context:
space:
mode:
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 507d2fff20..dfe2838f2d 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