summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 05b82c590cf5a82edcdc5299d7f5a537a635b3c8 (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
# Author: Robert Tari <robert at tari dot in>
# Maintainer: Robert Tari <robert at tari dot in>
# Maintainer: Ingo Meyer <IJ_M@gmx.de>

pkgname="ayatana-webmail-no-indicator-messages"
pkgver="24.5.17"
pkgrel="1"
pkgdesc="Webmail notifications and actions for any desktop without ayatana-indicator-messages dependency"
arch=("any")
url="https://tari.in/www/software/ayatana-webmail/"
license=("GPL3")
depends=("hicolor-icon-theme" "dconf" "gobject-introspection" "desktop-file-utils" "libnotify" "libcanberra" "gnome-keyring" "python-babel" "python-gobject" "python-psutil" "python-secretstorage" "python-urllib3" "gsettings-desktop-schemas")
makedepends=("python-setuptools" "python-polib")
optdepends=("ayatana-indicator-messages: Support for indicator messages")
install="ayatana-webmail.install"
source=("ayatana-webmail-${pkgver}.tar.gz::https://github.com/AyatanaIndicators/ayatana-webmail/archive/${pkgver}.tar.gz"
        "status_icon.patch")
md5sums=("5c202c540631443b8dead9c62cb49475"
         "eb8721b75b144ab35a8e18bb352799ab")
provides=("ayatana-webmail=${pkgver}")
replaces=("unity-mail")
conflicts=("ayatana-webmail" "unity-mail")

prepare()
{
    cd ayatana-webmail-${pkgver}
    patch -Np1 -i "${srcdir}/status_icon.patch"
}

build()
{
    cd ayatana-webmail-${pkgver}
    python setup.py build
}

package()
{
    cd ayatana-webmail-${pkgver}
    python setup.py install --optimize=1 \
                            --prefix=/usr \
                            --root="${pkgdir}" \
                            --skip-build
}