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

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Fri Mar 15 11:38:47 UTC 2019


    Date: Friday, March 15, 2019 @ 11:38:46
  Author: bpiotrowski
Revision: 348151

3.32.0-1

Modified:
  sushi/trunk/PKGBUILD

----------+
 PKGBUILD |   23 +++++++++--------------
 1 file changed, 9 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-15 11:32:25 UTC (rev 348150)
+++ PKGBUILD	2019-03-15 11:38:46 UTC (rev 348151)
@@ -2,8 +2,8 @@
 # Contributor: Ionut Biru <ibiru at archlinux.org>
 
 pkgname=sushi
-pkgver=3.30.0
-pkgrel=2
+pkgver=3.32.0
+pkgrel=1
 pkgdesc="A quick previewer for Nautilus"
 url="https://gitlab.gnome.org/GNOME/sushi"
 arch=(x86_64)
@@ -10,9 +10,9 @@
 license=(GPL2)
 groups=(gnome)
 depends=(clutter-gtk clutter-gst gjs libmusicbrainz5 webkit2gtk gtksourceview3 evince)
+makedepends=(intltool gobject-introspection git meson)
 optdepends=('libreoffice: OpenDocument formats')
-makedepends=(intltool gobject-introspection git)
-_commit=9178916157fa2cf023610b4695486b570cabdb8a  # tags/3.30.0^0
+_commit=a2873519e139fdce80bd7d43b0dd820bc5553268  # tags/3.32.0^0
 source=("git+https://gitlab.gnome.org/GNOME/sushi.git#commit=$_commit")
 sha256sums=('SKIP')
 
@@ -21,23 +21,18 @@
   git describe --tags | sed 's/-/+/g'
 }
 
-prepare() {
+pkgver() {
   cd $pkgname
-  mkdir m4
-  intltoolize
-  autoreconf -fvi
+  git describe --tags | sed 's/-/+/g'
 }
 
 build() {
-  cd $pkgname
-  ./configure --prefix=/usr --libexecdir=/usr/lib
-  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" meson install -C build
 }
 
 # vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list