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

_pkgname=meld
pkgname=$_pkgname-git
pkgver=3.21.0.218.g631ef272
pkgrel=1
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
             intltool
             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/meld.git")
sha256sums=('SKIP')

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

build() {
    arch-meson build $_pkgname -D byte-compile=false
    meson compile -C build
}

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