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

pkgname=meld-git
pkgver=3.22.0.436.g3fb05255
pkgrel=1
pkgdesc='Visual diff and merge tool'
url='http://meldmerge.org/'
license=(GPL-2.0-or-later)
arch=(any)
depends=(
  dconf
  gdk-pixbuf2
  glib2
  gsettings-desktop-schemas
  gtk3
  gtksourceview4
  hicolor-icon-theme
  pango
  python
  python-cairo
  python-gobject
)
makedepends=(
  git
  meson
  yelp-tools
)
checkdepends=(appstream-glib)
provides=(meld)
conflicts=(
  meld
  meld-dev
)
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}"
}