[arch-commits] Commit in pangomm-2.48/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Fri May 21 17:53:38 UTC 2021


    Date: Friday, May 21, 2021 @ 17:53:38
  Author: heftig
Revision: 415836

2.48.1-1

Added:
  pangomm-2.48/trunk/PKGBUILD

----------+
 PKGBUILD |   50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)

Added: PKGBUILD
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-21 17:53:38 UTC (rev 415836)
@@ -0,0 +1,50 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgbase=pangomm-2.48
+pkgname=(pangomm-2.48 pangomm-2.48-docs)
+pkgver=2.48.1
+pkgrel=1
+pkgdesc="C++ bindings for Pango"
+url="https://www.gtkmm.org/"
+arch=(x86_64)
+license=(LGPL)
+depends=(pango glibmm-2.68 cairomm-1.16)
+makedepends=(git mm-common glibmm-2.68-docs cairomm-1.16-docs meson)
+options=(!emptydirs)
+_commit=76246955054101a14a872b8117bbfc0b39791802  # tags/2.48.1^0
+source=("git+https://gitlab.gnome.org/GNOME/pangomm.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd pangomm
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd pangomm
+}
+
+build() {
+  arch-meson pangomm build -D maintainer-mode=true
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package_pangomm-2.48() {
+  meson install -C build --destdir "$pkgdir"
+
+  mkdir -p docs/usr/share
+  mv "$pkgdir"/usr/share/{devhelp,doc} docs/usr/share
+}
+
+package_pangomm-2.48-docs() {
+  pkgdesc+=" (documentation)"
+  depends=()
+  options=(!strip)
+
+  mv docs/* "$pkgdir"
+}



More information about the arch-commits mailing list