Date: Saturday, February 5, 2022 @ 20:43:24 Author: alerque Revision: 1126888
archrelease: copy trunk to community-staging-x86_64 Added: fcft/repos/community-staging-x86_64/ fcft/repos/community-staging-x86_64/PKGBUILD (from rev 1126887, fcft/trunk/PKGBUILD) ----------+ PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) Copied: fcft/repos/community-staging-x86_64/PKGBUILD (from rev 1126887, fcft/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-02-05 20:43:24 UTC (rev 1126888) @@ -0,0 +1,38 @@ +# Maintainer: Caleb Maclennan <ca...@alerque.com> +# Contributor: Daniel Eklöf <daniel at ekloef dot se> + +pkgname=fcft +pkgver=3.0.0 +pkgrel=1 +pkgdesc='Simple library for font loading and glyph rasterization' +arch=(x86_64) +url=https://codeberg.org/dnkl/${pkgname} +license=(MIT) +depends=(fontconfig + freetype2 + harfbuzz + libutf8proc + pixman) +makedepends=(meson + scdoc + tllist) +checkdepends=(ttf-dejavu) +options=(debug) +source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz") +sha256sums=('8dd239ab72697ebe1f7a583cfbac0f90523d30752345c9160ee6e7c4ad2cd379') + +build() { + arch-meson $pkgname build \ + -Dgrapheme-shaping=enabled \ + -Drun-shaping=enabled +} + +check() { + meson test -C build +} + +package() { + meson install -C build --destdir "$pkgdir" + install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" "$pkgname/LICENSE" + install -Dm0644 "$pkgname/unicode/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.unicode" +}