[arch-commits] Commit in pangomm-2.48/repos (extra-x86_64 extra-x86_64/PKGBUILD)

Jan Steffens heftig at archlinux.org
Fri May 21 17:54:12 UTC 2021


    Date: Friday, May 21, 2021 @ 17:54:12
  Author: heftig
Revision: 415837

archrelease: copy trunk to extra-x86_64

Added:
  pangomm-2.48/repos/extra-x86_64/
  pangomm-2.48/repos/extra-x86_64/PKGBUILD
    (from rev 415836, pangomm-2.48/trunk/PKGBUILD)

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

Copied: pangomm-2.48/repos/extra-x86_64/PKGBUILD (from rev 415836, pangomm-2.48/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2021-05-21 17:54:12 UTC (rev 415837)
@@ -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