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

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


    Date: Tuesday, March 13, 2018 @ 21:20:17
  Author: bpiotrowski
Revision: 318888

3.28.0-1

Modified:
  file-roller/trunk/PKGBUILD

----------+
 PKGBUILD |   22 +++++++---------------
 1 file changed, 7 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-13 21:18:16 UTC (rev 318887)
+++ PKGBUILD	2018-03-13 21:20:17 UTC (rev 318888)
@@ -3,7 +3,7 @@
 # Contributor: Jan de Groot <jgc at archlinux.org>
 
 pkgname=file-roller
-pkgver=3.26.2
+pkgver=3.28.0
 pkgrel=1
 pkgdesc="Create and modify archives"
 url="https://wiki.gnome.org/Apps/FileRoller"
@@ -10,13 +10,14 @@
 arch=(x86_64)
 license=(GPL)
 depends=(gtk3 dconf libarchive file json-glib libnotify zip unzip)
-makedepends=(intltool itstool docbook-xsl gnome-common git libnautilus-extension)
+makedepends=(intltool itstool docbook-xsl gnome-common git libnautilus-extension
+             meson)
 optdepends=('p7zip: 7z, arj, exe and encrypted zip files support'
             'unrar: better RAR archive support'
             'unace: ACE archive support'
             'lrzip: lrzip archive support')
 groups=(gnome)
-_commit=723d45e7c437f87303fd0203132b5770d2775d87  # tags/3.26.2^0
+_commit=be8499528b415f66b60b3332a976563d62c58eec  # tags/3.28.0^0
 source=("git+https://git.gnome.org/browse/file-roller#commit=$_commit")
 sha256sums=('SKIP')
 
@@ -25,20 +26,11 @@
   git describe --tags | sed 's/-/+/g'
 }
 
-prepare() {
-  cd $pkgname
-  NOCONFIGURE=1 ./autogen.sh
-}
-
 build() {
-  cd $pkgname
-  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
-    --libexecdir=/usr/lib/$pkgname --disable-static --disable-schemas-compile
-  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
 }



More information about the arch-commits mailing list