summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a89fc26bee1dc9256987c77b597cf31f44d91c4d (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
42
43
44
45
46
47
48
49
50
51
52
# Maintainer: ilovemikael <itsmeguys2247 at gmail dot com>

# PKGBUILD 'forked' from pango-git [https://aur.archlinux.org/packages/pango-git] by
# Contributor: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Vincent Grande <shoober420@gmail.com>
# Contributor: Jan de Groot <jgc@archlinux.org>

pkgname=pango-nothai-git
pkgver=1.57.0.r13.g2fb8d778
pkgrel=1
epoch=1
pkgdesc="A library for layout and rendering of text - modified for those who are excessively anal about unnecessary dependencies."
url="https://www.pango.org/"
arch=(x86_64)
license=(LGPL-2.1-or-later)
depends=(
  cairo
  fontconfig
  freetype2
  fribidi
  glib2
  glibc
  harfbuzz
  libx11
  libxft
  libxrender
)
makedepends=(gobject-introspection help2man git meson glib2-devel)
source=("git+https://gitlab.gnome.org/GNOME/pango.git")
sha256sums=('SKIP')

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

build() {
  local meson_options=(
    -D man-pages=true
    -D build-testsuite=false
    -D build-examples=false
  )
  arch-meson pango build "${meson_options[@]}"
  meson compile -C build
}

package() {
  provides=(pango libpango{,cairo,ft2,xft}-1.0.so)
  conflicts=(pango)

  meson install -C build --destdir "$pkgdir"
}