diff options
author | Oliver Jaksch | 2020-02-18 08:16:44 +0100 |
---|---|---|
committer | Oliver Jaksch | 2020-02-18 08:16:44 +0100 |
commit | 22cdb7303dd915c288c0af69af9f7f09b4727f55 (patch) | |
tree | 4d4aebd9ae0976e9426f3fe84f9632f684fddf13 /PKGBUILD | |
download | aur-22cdb7303dd915c288c0af69af9f7f09b4727f55.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..519ed752c227 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: Oliver Jaksch <arch-aur@com-in.de> +# based on Arch's package pango by Jan de Groot <jgc@archlinux.org> + +pkgname=pango-anydesk +pkgver=1.43.0 +pkgrel=2 +epoch=1 +pkgdesc="Older version of pango temporary needed by AnyDesk package" +url="https://www.pango.org/" +arch=(x86_64) +license=(LGPL) +depends=(libthai cairo libxft harfbuzz fribidi) +makedepends=(gobject-introspection help2man gtk-doc git meson) +checkdepends=(ttf-dejavu cantarell-fonts) +_commit=26f1135f374f3ad5eb963dcdf016542fbbda361b # tags/1.43.0^0 +source=("git+https://gitlab.gnome.org/GNOME/pango.git#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd pango + git describe --tags | sed 's/-/+/g' +} + +prepare() { + cd pango + + # Fix .pc + git cherry-pick -n d0cb6be7431d1a3c711bd45bcf05b34601604037 +} + +build() { + arch-meson pango build -D enable_docs=true + ninja -C build +} + +check() { + meson test -C build +} + +package() { + mkdir -p "${pkgdir}/usr/share/anydesk/files/pango-1.43.0-2/" + cp -r "${srcdir}/build/pango/libpango"* "${pkgdir}/usr/share/anydesk/files/pango-1.43.0-2/" +} |