[arch-commits] Commit in atkmm-2.36/repos (extra-x86_64 extra-x86_64/PKGBUILD)

Jan Steffens heftig at archlinux.org
Fri May 21 17:18:40 UTC 2021


    Date: Friday, May 21, 2021 @ 17:18:40
  Author: heftig
Revision: 415827

archrelease: copy trunk to extra-x86_64

Added:
  atkmm-2.36/repos/extra-x86_64/
  atkmm-2.36/repos/extra-x86_64/PKGBUILD
    (from rev 415826, atkmm-2.36/trunk/PKGBUILD)

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

Copied: atkmm-2.36/repos/extra-x86_64/PKGBUILD (from rev 415826, atkmm-2.36/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2021-05-21 17:18:40 UTC (rev 415827)
@@ -0,0 +1,50 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgbase=atkmm-2.36
+pkgname=(atkmm-2.36 atkmm-2.36-docs)
+pkgver=2.36.1
+pkgrel=1
+pkgdesc="C++ bindings for ATK"
+url="https://www.gtkmm.org/"
+arch=(x86_64)
+license=(LGPL)
+depends=(atk glibmm-2.68)
+makedepends=(git mm-common glibmm-2.68-docs meson)
+options=(!emptydirs)
+_commit=31bc39c17bda0b12e3f6d432ef9e618897d5653b  # tags/2.36.1^0
+source=("git+https://gitlab.gnome.org/GNOME/atkmm.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd atkmm
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd atkmm
+}
+
+build() {
+  arch-meson atkmm build -D maintainer-mode=true
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package_atkmm-2.36() {
+  meson install -C build --destdir "$pkgdir"
+
+  mkdir -p docs/usr/share
+  mv "$pkgdir"/usr/share/{devhelp,doc} docs/usr/share
+}
+
+package_atkmm-2.36-docs() {
+  pkgdesc+=" (documentation)"
+  depends=()
+  options=(!strip)
+
+  mv docs/* "$pkgdir"
+}



More information about the arch-commits mailing list