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}" }