[arch-commits] Commit in gucharmap/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Fri Mar 13 15:59:52 UTC 2020


    Date: Friday, March 13, 2020 @ 15:59:50
  Author: heftig
Revision: 377499

13.0.0-1

Modified:
  gucharmap/trunk/PKGBUILD

----------+
 PKGBUILD |   23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-13 15:59:47 UTC (rev 377498)
+++ PKGBUILD	2020-03-13 15:59:50 UTC (rev 377499)
@@ -2,7 +2,7 @@
 # Contributor: Jan De Groot <jgc at archlinux.org>
 
 pkgname=gucharmap
-pkgver=12.0.1
+pkgver=13.0.0
 pkgrel=1
 pkgdesc="Gnome Unicode Charmap"
 url="https://wiki.gnome.org/Apps/Gucharmap"
@@ -9,9 +9,10 @@
 arch=(x86_64)
 license=(GPL)
 depends=(dconf gtk3)
-makedepends=(gtk-doc intltool gobject-introspection yelp-tools docbook-xsl
-             python2 appdata-tools unicode-character-database unzip gnome-common git)
-_commit=f832495aeeeb6b20a598b895261a9d1853005147  # tags/12.0.1^0
+makedepends=(gtk-doc gobject-introspection yelp-tools appdata-tools git meson
+             unicode-character-database unzip vala)
+provides=(libgucharmap_2_90.so)
+_commit=fb6bc29bbecbe30debabc195d1342d981f8f3a6b  # tags/13.0.0^0
 source=("git+https://gitlab.gnome.org/GNOME/gucharmap.git#commit=$_commit")
 sha256sums=('SKIP')
 
@@ -22,17 +23,17 @@
 
 prepare() {
   cd $pkgname
-  NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
-  cd $pkgname
-  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static \
-    --disable-schemas-compile --enable-introspection --with-unicode-data=/usr/share/unicode
-  make
+  arch-meson $pkgname build -D ucd_path=/usr/share/unicode
+  ninja -C build
 }
 
+check() {
+  meson test -C build --print-errorlogs
+}
+
 package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" meson install -C build
 }



More information about the arch-commits mailing list