summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6a0ea4df049ac76aa561f085b42b9139cc5a7a7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
# Contributor: Ner0 <darkelfdarkelf666@yahoo.co.uk>

pkgname=pantheon-files-git
pkgver=r9321.be05771b
pkgrel=1
pkgdesc='The Pantheon File Browser'
arch=(x86_64)
url=https://github.com/elementary/files
license=(GPL3)
groups=(pantheon-unstable)
depends=(
  libhandy
  atk
  cairo
  gdk-pixbuf2
  glib2
  gtk3
  libcanberra
  libgee
  libgit2-glib
  libgranite.so
  libnotify
  pango
  sqlite
  zeitgeist
  libcloudproviders
  libportal-gtk3
)
makedepends=(
  git
  granite
  meson
  vala
  gnome-common
)
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 pantheon-files

  echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}

build() {
  arch-meson pantheon-files build
  ninja -C build
}

package() {
  DESTDIR="${pkgdir}" ninja -C build install
}

# vim: ts=2 sw=2 et: