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

Maxime Gauduin alucryd at archlinux.org
Tue Apr 9 10:28:58 UTC 2019


    Date: Tuesday, April 9, 2019 @ 10:28:57
  Author: alucryd
Revision: 450582

upgpkg: pantheon-files 4.1.7-1

Modified:
  pantheon-files/trunk/PKGBUILD

----------+
 PKGBUILD |   31 ++++++++-----------------------
 1 file changed, 8 insertions(+), 23 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-09 10:27:44 UTC (rev 450581)
+++ PKGBUILD	2019-04-09 10:28:57 UTC (rev 450582)
@@ -1,11 +1,11 @@
 # Maintainer: Maxime Gauduin <alucryd at archlinux.org>
 
 pkgname=pantheon-files
-pkgver=4.0
-pkgrel=2
+pkgver=4.1.7
+pkgrel=1
 pkgdesc='The Pantheon File Browser'
 arch=(x86_64)
-url='https://github.com/elementary/files'
+url=https://github.com/elementary/files
 license=(GPL3)
 groups=(pantheon)
 depends=(
@@ -23,10 +23,9 @@
   zeitgeist
 )
 makedepends=(
-  cmake
   git
   gnome-common
-  ninja
+  meson
   vala
 )
 optdepends=(
@@ -37,28 +36,14 @@
 source=(pantheon-files::git+https://github.com/elementary/files.git#tag=${pkgver})
 sha256sums=(SKIP)
 
-prepare() {
-  if [[ -d build ]]; then
-    rm -rf build
-  fi
-  mkdir build
-}
-
 build() {
-  cd build
-
-  cmake ../pantheon-files \
-    -G Ninja \
-    -DCMAKE_BUILD_TYPE='Release' \
-    -DCMAKE_INSTALL_PREFIX='/usr' \
-    -DCMAKE_INSTALL_LIBDIR='/usr/lib' \
-    -DCMAKE_SKIP_RPATH='TRUE' \
-    -DGSETTINGS_COMPILE='FALSE'
-  cmake --build .
+  arch-meson pantheon-files build \
+    -D with-unity=false
+  ninja -C build
 }
 
 package() {
-  DESTDIR="${pkgdir}" cmake --build build --target install
+  DESTDIR="${pkgdir}" ninja -C build install
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list