summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f5d0d8013ec1c3a580360a6079254b1343a278ee (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
# Maintainer: Jason Edson <jaysonedson@gmail.com>

pkgname=meld-git
pkgver=3.21.3.6.g8112b4e8
pkgrel=2
pkgdesc='Visual diff and merge tool'
url='http://meldmerge.org/'
license=(GPL)
arch=(any)
depends=(
  dconf
  glib2
  gsettings-desktop-schemas
  gtk3
  gtksourceview4
  python-cairo
  python-gobject
)
makedepends=(
  git
  meson
  yelp-tools
)
optdepends=('python-dbus: open a new tab in an already running instance')
provides=(meld)
conflicts=(
  meld
  meld-dev
)
options=(!emptydirs)
source=("git+https://gitlab.gnome.org/GNOME/${pkgname%-git}.git")
sha256sums=(SKIP)

pkgver() {
  cd ${pkgname%-git}
  git describe --always | sed 's|-|.|g'
}

build() {
  arch-meson build ${pkgname%-git}
  meson compile -C build
}

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