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

Jan Steffens heftig at archlinux.org
Sun Dec 13 14:26:15 UTC 2020


    Date: Sunday, December 13, 2020 @ 14:26:15
  Author: heftig
Revision: 404282

archrelease: copy trunk to extra-x86_64

Added:
  atkmm/repos/extra-x86_64/PKGBUILD
    (from rev 404281, atkmm/trunk/PKGBUILD)
Deleted:
  atkmm/repos/extra-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-13 14:26:02 UTC (rev 404281)
+++ PKGBUILD	2020-12-13 14:26:15 UTC (rev 404282)
@@ -1,46 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-
-pkgbase=atkmm
-pkgname=(atkmm atkmm-docs)
-pkgver=2.28.0
-pkgrel=2
-pkgdesc="C++ bindings for ATK"
-url="https://www.gtkmm.org/"
-arch=(x86_64)
-license=(LGPL)
-depends=(atk glibmm)
-makedepends=(git mm-common perl glibmm-docs)
-_commit=e1f4d5394a7982cc3c82ca63676a2928cd8819c1  # tags/2.28.0^0
-source=("git+https://gitlab.gnome.org/GNOME/atkmm.git#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
-  cd $pkgbase
-  git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
-  cd $pkgbase
-  NOCONFIGURE=1 ./autogen.sh
-}
-
-build() {
-  cd $pkgbase
-  ./configure --prefix=/usr --enable-maintainer-mode
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
-}
-
-package_atkmm() {
-  cd $pkgbase
-  sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile
-  make DESTDIR="$pkgdir" install
-}
-
-package_atkmm-docs() {
-  pkgdesc+=" (documentation)"
-  depends=()
-
-  cd $pkgbase
-  make -C doc DESTDIR="$pkgdir" install
-}

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



More information about the arch-commits mailing list