summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 44f33ff4dedbd3cd2d7e93e45088bafa03f22d43 (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
# Maintainer: Twilight0 <twilight0@vivaldi.net>

pkgname=dory-git
pkgver=6.7.4.r2646.566c2579
pkgrel=1
pkgdesc="A standalone Nemo fork named Dory for file picking and portal integration (git)"
arch=('x86_64')
url="https://github.com/Twilight0/dory"
license=('GPL3')
depends=(
  cinnamon-desktop
  libexif
  exempi
  xapp
  gtk3
)
makedepends=(
  git
  meson
  gobject-introspection
  intltool
  glib2-devel
  libgsf
)
provides=(dory)
conflicts=(dory)
source=("dory::git+https://github.com/Twilight0/dory.git")
sha256sums=('SKIP')

pkgver() {
  cd dory
  printf "6.7.6.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  arch-meson dory build \
    -Ddeprecated_warnings=false \
    -Dempty_view=false \
    -Dexif=true \
    -Dgtk_doc=false \
    -Dgtk_layer_shell=false \
    -Dselinux=false \
    -Dtracker=false \
    -Dxmp=true
  meson compile -C build
}

package() {
  meson install -C build --destdir "$pkgdir"
}