2021-05-21 09:46:37 +00:00
|
|
|
pkgname=harfbuzz
|
2021-12-26 12:40:14 +00:00
|
|
|
pkgver=3.0.0
|
2021-05-21 09:46:37 +00:00
|
|
|
|
|
|
|
fetch() {
|
2021-12-26 12:40:14 +00:00
|
|
|
curl -L "https://github.com/harfbuzz/harfbuzz/releases/download/$pkgver/harfbuzz-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.xz
|
2021-05-21 09:46:37 +00:00
|
|
|
tar -xf $pkgname-$pkgver.tar.xz
|
|
|
|
mkdir $pkgname-$pkgver/build
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
cd build
|
2021-12-26 12:40:14 +00:00
|
|
|
CFLAGS="$CFLAGS -Wunused-but-set-variable" meson .. \
|
2021-05-21 09:46:37 +00:00
|
|
|
--buildtype=release \
|
|
|
|
--prefix=/usr \
|
|
|
|
--libexecdir=lib \
|
|
|
|
-Dglib=disabled \
|
|
|
|
-Dgobject=disabled \
|
|
|
|
-Dicu=enabled
|
2021-07-31 12:02:15 +00:00
|
|
|
|
2021-05-21 09:46:37 +00:00
|
|
|
samu
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
cd build
|
|
|
|
DESTDIR=$pkgdir samu install
|
|
|
|
}
|
|
|
|
|
|
|
|
license() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
cat COPYING
|
|
|
|
}
|