diff options
author | Maxime Gauduin | 2019-03-04 10:55:50 +0100 |
---|---|---|
committer | Maxime Gauduin | 2019-03-04 10:55:50 +0100 |
commit | 230570a366274a4a4ec1d73d189c9b385b1ffb98 (patch) | |
tree | b7a863ba50f493f832145c9a4481fb96e76e8a98 /PKGBUILD | |
parent | 8e8a9c90c52bcbef634d063dd113764facb0656a (diff) | |
download | aur-230570a366274a4a4ec1d73d189c9b385b1ffb98.tar.gz |
update pantheon-files-git
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 79 |
1 files changed, 42 insertions, 37 deletions
@@ -2,53 +2,58 @@ # Contributor: Ner0 <darkelfdarkelf666@yahoo.co.uk> pkgname=pantheon-files-git -pkgver=r5456.d791bddb +pkgver=r6405.3556bde8 pkgrel=1 -pkgdesc='The Pantheon File Manager' -arch=('i686' 'x86_64') -url='https://github.com/elementary/files' -license=('GPL3') -groups=('pantheon-unstable') -depends=('atk' 'cairo' 'dbus-glib' 'desktop-file-utils' 'gdk-pixbuf2' 'glib2' - 'glibc' 'gtk3' 'libcanberra' 'libgee' 'libnotify' 'pango' 'plank' - 'sqlite' 'zeitgeist' - 'libgranite.so') -makedepends=('git' 'cmake' 'gnome-common' 'granite-git' 'vala') -optdepends=('contractor-git: Various context menu entries' - 'tumbler: Thumbnails generation') -provides=('pantheon-files') -conflicts=('pantheon-files') -install='pantheon-files.install' -source=('git+https://github.com/elementary/files') -sha256sums=('SKIP') +pkgdesc='The Pantheon File Browser' +arch=(x86_64) +url=https://github.com/elementary/files +license=(GPL3) +groups=(pantheon-unstable) +depends=( + atk + cairo + gdk-pixbuf2 + glib2 + gtk3 + libcanberra + libgee + libgranite.so + libnotify + pango + sqlite + zeitgeist +) +makedepends=( + git + gnome-common + granite-git + meson + vala +) +optdepends=( + 'contractor-git: Various context menu entries' + 'gvfs: Cleaner devices section' + 'tumbler: Thumbnails generation' +) +provides=(pantheon-files) +conflicts=(pantheon-files) +source=(pantheon-files::git+https://github.com/elementary/files.git) +sha256sums=(SKIP) pkgver() { - cd files + cd pantheon-files - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } build() { - cd "$srcdir/files" - - if [[ -d build ]]; then - rm -rf build - fi - mkdir build && cd build - - cmake .. \ - -DCMAKE_BUILD_TYPE='Release' \ - -DCMAKE_INSTALL_PREFIX='/usr' \ - -DCMAKE_INSTALL_LIBDIR='/usr/lib' \ - -DCMAKE_SKIP_RPATH='TRUE' \ - -DGSETTINGS_COMPILE='FALSE' - make + arch-meson pantheon-files build \ + -D with-unity=false + ninja -C build } package() { - cd "$srcdir/files/build" - - make DESTDIR="${pkgdir}" install + DESTDIR="${pkgdir}" ninja -C build install } # vim: ts=2 sw=2 et: |