[arch-commits] Commit in pantheon-files/trunk (PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Thu Dec 6 13:03:36 UTC 2018
Date: Thursday, December 6, 2018 @ 13:03:34
Author: alucryd
Revision: 411719
upgpkg: pantheon-files 4.0-1
Modified:
pantheon-files/trunk/PKGBUILD
----------+
PKGBUILD | 55 ++++++++++++++++++++++++++++++++++---------------------
1 file changed, 34 insertions(+), 21 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-12-06 13:02:06 UTC (rev 411718)
+++ PKGBUILD 2018-12-06 13:03:34 UTC (rev 411719)
@@ -1,29 +1,41 @@
# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
pkgname=pantheon-files
-pkgver=0.3.5.r5882.9785e68a
+pkgver=4.0
pkgrel=1
pkgdesc='The Pantheon File Manager'
-arch=('x86_64')
+arch=(x86_64)
url='https://launchpad.net/pantheon-files'
-license=('GPL3')
-groups=('pantheon')
-depends=('atk' 'cairo' 'gdk-pixbuf2' 'glib2' 'glibc' 'gtk3' 'libcanberra'
- 'libgee' 'libnotify' 'pango' 'sqlite' 'zeitgeist'
- 'libgranite.so')
-makedepends=('cmake' 'git' 'gnome-common' 'vala')
-optdepends=('contractor: Various context menu entries'
- 'tumbler: Thumbnails generation')
-_commit='9785e68aa828e5a2b400a277dd70cd7eea985512'
-source=("pantheon-files::git+https://github.com/elementary/files.git#commit=${_commit}")
-sha256sums=('SKIP')
+license=(GPL3)
+groups=(pantheon)
+depends=(
+ atk
+ cairo
+ gdk-pixbuf2
+ glib2
+ gtk3
+ libcanberra
+ libgee
+ libgranite.so
+ libnotify
+ pango
+ sqlite
+ zeitgeist
+)
+makedepends=(
+ cmake
+ git
+ gnome-common
+ ninja
+ vala
+)
+optdepends=(
+ 'contractor: Various context menu entries'
+ 'tumbler: Thumbnails generation'
+)
+source=(pantheon-files::git+https://github.com/elementary/files.git#tag=${pkgver})
+sha256sums=(SKIP)
-pkgver() {
- cd pantheon-files
-
- echo "0.3.5.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
-}
-
prepare() {
if [[ -d build ]]; then
rm -rf build
@@ -35,16 +47,17 @@
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'
- make
+ cmake --build .
}
package() {
- make DESTDIR="${pkgdir}" -C build install
+ DESTDIR="${pkgdir}" cmake --build build --target install
}
# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list