summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4013c78ade4ab580be4e4fa0848cd43abae6f99a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Maintainer: Vincent Grande <shoober420@gmail.com>
# Contributor: Jan de Groot <jgc@archlinux.org>

pkgname=pango-minimal-git
pkgver=1.44.3
pkgrel=1
epoch=1
pkgdesc="A library for layout and rendering of text"
url="https://www.pango.org/"
arch=(x86_64)
license=(LGPL)
provides=(pango)
conflicts=(pango)
depends=(cairo libxft harfbuzz fribidi)
makedepends=(gobject-introspection git meson fribidi)
optdepends=("libthai: Thai language support")
#checkdepends=(ttf-dejavu cantarell-fonts)
source=("git+https://gitlab.gnome.org/GNOME/pango.git")
sha256sums=('SKIP')

pkgver() {
  cd pango
  git describe --tags | sed 's/-/+/g'
}

prepare() {
  cd pango
}

build() {
  arch-meson pango build -D gtk_doc=false -D libthai=disabled
  ninja $NINJAFLAGS -C build
}

#check() {
#  meson test -C build --print-errorlogs
#}

package() {
  DESTDIR="$pkgdir" meson install -C build
}