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

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Tue Mar 13 21:25:48 UTC 2018


    Date: Tuesday, March 13, 2018 @ 21:25:47
  Author: bpiotrowski
Revision: 318894

3.28.0-1

Modified:
  gnome-characters/trunk/PKGBUILD

----------+
 PKGBUILD |   22 ++++++----------------
 1 file changed, 6 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-13 21:23:43 UTC (rev 318893)
+++ PKGBUILD	2018-03-13 21:25:47 UTC (rev 318894)
@@ -2,7 +2,7 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=gnome-characters
-pkgver=3.26.2
+pkgver=3.28.0
 pkgrel=1
 pkgdesc="A character map application"
 arch=(x86_64)
@@ -9,9 +9,9 @@
 url="https://git.gnome.org/browse/gnome-characters"
 license=(GPL2)
 depends=(gjs gtk3 libunistring gnome-desktop)
-makedepends=(intltool gobject-introspection appstream-glib git gperf)
+makedepends=(meson intltool gobject-introspection appstream-glib git gperf)
 groups=(gnome)
-_commit=f84930f30778174a91bbfbdfe4f9e28b569f8ff6  # tags/v3.26.2^0
+_commit=9f3dcedad3ab5361a84706ae7574470761f346e5  # tags/v3.28.0^0
 source=("git+https://git.gnome.org/browse/gnome-characters#commit=$_commit")
 sha256sums=('SKIP')
 
@@ -20,21 +20,11 @@
   git describe --tags | sed 's/^v//;s/-/+/g'
 }
 
-prepare() {
-  cd $pkgname
-  NOCONFIGURE=1 ./autogen.sh
-}
-
 build() {
-  cd $pkgname
-  ./configure --prefix=/usr
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
+  arch-meson $pkgname build
+  ninja -C build
 }
 
 package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" ninja -C build install
 }
-
-# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list