[arch-commits] Commit in atkmm/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Sun Dec 13 14:26:01 UTC 2020
Date: Sunday, December 13, 2020 @ 14:26:00
Author: heftig
Revision: 404280
2.28.1-1
Modified:
atkmm/trunk/PKGBUILD
----------+
PKGBUILD | 34 +++++++++++++++++++---------------
1 file changed, 19 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-13 13:02:13 UTC (rev 404279)
+++ PKGBUILD 2020-12-13 14:26:00 UTC (rev 404280)
@@ -1,16 +1,18 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# 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.0
-pkgrel=2
+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 perl glibmm-docs)
-_commit=e1f4d5394a7982cc3c82ca63676a2928cd8819c1 # tags/2.28.0^0
+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')
@@ -21,26 +23,28 @@
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
+ arch-meson $pkgbase build -D maintainer-mode=true
+ meson compile -C build
}
+check() {
+ meson test -C build --print-errorlogs
+}
+
package_atkmm() {
- cd $pkgbase
- sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile
- make DESTDIR="$pkgdir" install
+ 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)
- cd $pkgbase
- make -C doc DESTDIR="$pkgdir" install
+ mv docs/* "$pkgdir"
}
More information about the arch-commits
mailing list