fix: harfbuzz formatting

This commit is contained in:
ngn 2024-08-19 15:21:06 +03:00
parent d9a1d37c20
commit 99ac0fb0b9

View File

@ -1,13 +1,15 @@
NAME="harfbuzz" NAME="harfbuzz"
DESC="OpenType text shaping engine" DESC="OpenType text shaping engine"
VERSION="8.1.1" 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") HASHES=("f0040d0fc02cf94cac9f46a94c44c6de")
DEPENDS=("gobject-introspection" "glib" "icu" "freetype" "cairo") DEPENDS=("gobject-introspection" "glib" "icu" "freetype" "cairo")
PACKAGE() { PACKAGE() {
tar xf $NAME-$VERSION.tar.xz tar xf "${NAME}-${VERSION}.tar.xz"
cd $NAME-$VERSION cd "${NAME}-${VERSION}"
mkdir build mkdir build
cd build cd build
@ -16,7 +18,8 @@ PACKAGE() {
--prefix=/usr \ --prefix=/usr \
--buildtype=release \ --buildtype=release \
-Dgraphite2=enabled -Dgraphite2=enabled
ninja && DESTDIR=${ROOTDIR} ninja install ninja
DESTDIR="${ROOTDIR}" ninja install
cd ../.. && rm -rf $NAME-$VERSION cd ../.. && rm -rf "${NAME}-${VERSION}"
} }