[arch-commits] Commit in pango/repos (2 files)
Jan Steffens
heftig at archlinux.org
Thu Mar 8 18:15:32 UTC 2018
Date: Thursday, March 8, 2018 @ 18:15:31
Author: heftig
Revision: 318251
archrelease: copy trunk to gnome-unstable-x86_64
Added:
pango/repos/gnome-unstable-x86_64/
pango/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 318250, pango/trunk/PKGBUILD)
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Copied: pango/repos/gnome-unstable-x86_64/PKGBUILD (from rev 318250, pango/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2018-03-08 18:15:31 UTC (rev 318251)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=pango
+pkgver=1.41.1
+pkgrel=1
+pkgdesc="A library for layout and rendering of text"
+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=bd2fd257f9f6f7ce095caa6c5c0e4332ef3cba75 # tags/1.41.1^0
+source=("git+https://git.gnome.org/browse/pango#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+}
+
+build() {
+ arch-meson $pkgname build -Denable_docs=true
+ ninja -C build
+}
+
+check() {
+ cd build
+ meson test
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C build install
+ rm -r "$pkgdir"/usr/{lib,share}/installed-tests
+}
More information about the arch-commits
mailing list