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