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

Antonio Rojas arojas at archlinux.org
Sun Mar 22 10:24:55 UTC 2020


    Date: Sunday, March 22, 2020 @ 10:24:55
  Author: arojas
Revision: 378306

archrelease: copy trunk to extra-x86_64

Added:
  pangomm/repos/extra-x86_64/PKGBUILD
    (from rev 378305, pangomm/trunk/PKGBUILD)
Deleted:
  pangomm/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   87 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 41 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-22 10:24:33 UTC (rev 378305)
+++ PKGBUILD	2020-03-22 10:24:55 UTC (rev 378306)
@@ -1,46 +0,0 @@
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-
-pkgbase=pangomm
-pkgname=(pangomm pangomm-docs)
-pkgver=2.42.0
-pkgrel=1
-pkgdesc="C++ bindings for Pango"
-url="https://www.gtkmm.org/"
-arch=(x86_64)
-license=(LGPL)
-depends=(pango glibmm cairomm)
-makedepends=(git mm-common glibmm-docs cairomm-docs)
-_commit=59f0ec837adc4fe02ea1c77965b880e1cfeeb4b9  # tags/2.42.0^0
-source=("git+https://gitlab.gnome.org/GNOME/pangomm.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_pangomm() {
-  cd $pkgbase
-  sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile
-  make DESTDIR="$pkgdir" install
-}
-
-package_pangomm-docs() {
-  pkgdesc+=" (documentation)"
-  depends=()
-
-  cd $pkgbase
-  make -C docs DESTDIR="$pkgdir" install
-}

Copied: pangomm/repos/extra-x86_64/PKGBUILD (from rev 378305, pangomm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-22 10:24:55 UTC (rev 378306)
@@ -0,0 +1,41 @@
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgbase=pangomm
+pkgname=(pangomm pangomm-docs)
+pkgver=2.42.1
+pkgrel=1
+pkgdesc="C++ bindings for Pango"
+url="https://www.gtkmm.org/"
+arch=(x86_64)
+license=(LGPL)
+depends=(pango glibmm cairomm)
+makedepends=(git mm-common glibmm-docs cairomm-docs meson)
+_commit=7dfc6c3372faaa4a7c492d08f09881b02095145b  # tags/2.42.1^0
+source=("git+https://gitlab.gnome.org/GNOME/pangomm.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgbase
+  git describe --tags | sed 's/-/+/g'
+}
+
+build() {
+  mkdir -p build
+  cd build
+  arch-meson ../$pkgbase
+  ninja
+}
+
+package_pangomm() {
+  cd build
+  DESTDIR="$pkgdir" ninja install
+  mv "$pkgdir"/usr/share "$srcdir"
+}
+
+package_pangomm-docs() {
+  pkgdesc+=" (documentation)"
+  depends=()
+
+  mkdir -p "$pkgdir"/usr
+  mv share "$pkgdir"/usr
+}



More information about the arch-commits mailing list