summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4540a2e83f40ccfb86f6098cd841b30919cf531c (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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# Maintainer: Torben <git at letorbi dot com>
# Contributor: emersion <contact at emersion dot fr>
# Contributor: Techlive Zheng <techlivezheng at gmail dot com>
# Contributor: Massimiliano Torromeo <massimiliano.torromeo at gmail dot com>

pkgname=geary-git
pkgver=46.0.r102.ga3aad5e4b
pkgrel=1
arch=(i686 x86_64)
pkgdesc="An email application built around conversations, for the GNOME 3 desktop."
url="https://gitlab.gnome.org/GNOME/geary"
license=(GPL-3.0-or-later)
depends=(
    at-spi2-core
    cairo
    dconf
    enchant
    folks
    gcr
    gdk-pixbuf2
    glib2
    glibc
    gmime3
    #gnome-online-accounts # namcap: maybe not needed
    gsound
    gspell
    gtk3
    hicolor-icon-theme
    icu
    #iso-codes # namcap: maybe not needed
    json-glib
    libgee
    libgoa
    libhandy
    libpeas-2
    libsecret
    libsoup3
    libstemmer
    libunwind
    libxml2
    libytnef
    #org.freedesktop.secrets # namcap: maybe not needed
    pango
    sqlite
    webkit2gtk-4.1
)
makedepends=(
    appstream-glib
    #cmake # not required anymore
    git
    gobject-introspection
    itstool
    meson
    vala
    #yelp-tools # not required anymore
)
conflicts=(geary)
source=('git+https://gitlab.gnome.org/GNOME/geary.git')
sha256sums=('SKIP')

prepare() {
    ln -s "$srcdir/geary" "$srcdir/$pkgname"
    #cd "$pkgname"
    #patch -Np1 -i ../../libsoup2.patch
}

pkgver() {
    cd "$pkgname"
    git describe --long | sed 's/^gnome-//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
    local meson_options=(
      -D profile=release
    )

    arch-meson geary build "${meson_options[@]}"
    meson compile -C build
}

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