archpkgs/fcft/PKGBUILD
Gabriel Ebner 2e56cc4855 git subrepo clone --branch=master https://aur.archlinux.org/fcft.git
subrepo:
  subdir:   "fcft"
  merged:   "f0dd481"
upstream:
  origin:   "https://aur.archlinux.org/fcft.git"
  branch:   "master"
  commit:   "f0dd481"
git-subrepo:
  version:  "0.4.3"
  origin:   "???"
  commit:   "???"
2021-08-04 21:21:03 +02:00

34 lines
1.0 KiB
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Maintainer: Daniel Eklöf <daniel at ekloef dot se>
pkgname=fcft
pkgver=2.4.4 # Dont forget to update CHANGELOG.md
pkgrel=1
pkgdesc="Simple library for font loading and glyph rasterization using FontConfig, FreeType and pixman."
arch=('x86_64' 'aarch64')
url=https://codeberg.org/dnkl/${pkgname}
license=(mit)
depends=('freetype2' 'fontconfig' 'pixman' 'harfbuzz')
makedepends=('meson' 'ninja' 'scdoc' 'tllist')
checkdepends=('check' 'ttf-dejavu')
changelog=CHANGELOG.md
source=(${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz)
sha256sums=('dabf5d83bf464c493fdd3a0baa69dc549ba08633299f0197d20707ae875a59ce')
build() {
cd ${pkgname}
meson --prefix=/usr --buildtype=release -Dtext-shaping=enabled . build
ninja -C build
}
check() {
cd ${pkgname}
ninja -C build test
}
package() {
cd ${pkgname}
DESTDIR="${pkgdir}/" ninja -C build install
install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm 644 unicode/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.unicode"
}