From 99ac0fb0b9b2b834b2626416efb975642d8ec8c3 Mon Sep 17 00:00:00 2001 From: ngn Date: Mon, 19 Aug 2024 15:21:06 +0300 Subject: [PATCH] fix: harfbuzz formatting --- src/harfbuzz/pkg.sh | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/harfbuzz/pkg.sh b/src/harfbuzz/pkg.sh index 9b6c696..5254233 100644 --- a/src/harfbuzz/pkg.sh +++ b/src/harfbuzz/pkg.sh @@ -1,13 +1,15 @@ NAME="harfbuzz" DESC="OpenType text shaping engine" VERSION="8.1.1" -FILES=("https://github.com/harfbuzz/harfbuzz/releases/download/$VERSION/harfbuzz-$VERSION.tar.xz") + +FILES=("https://github.com/harfbuzz/harfbuzz/releases/download/${VERSION}/harfbuzz-${VERSION}.tar.xz") HASHES=("f0040d0fc02cf94cac9f46a94c44c6de") + DEPENDS=("gobject-introspection" "glib" "icu" "freetype" "cairo") PACKAGE() { - tar xf $NAME-$VERSION.tar.xz - cd $NAME-$VERSION + tar xf "${NAME}-${VERSION}.tar.xz" + cd "${NAME}-${VERSION}" mkdir build cd build @@ -16,7 +18,8 @@ PACKAGE() { --prefix=/usr \ --buildtype=release \ -Dgraphite2=enabled - ninja && DESTDIR=${ROOTDIR} ninja install + ninja + DESTDIR="${ROOTDIR}" ninja install - cd ../.. && rm -rf $NAME-$VERSION + cd ../.. && rm -rf "${NAME}-${VERSION}" }