summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 47136b51d58e6d4e3ea8cd97d8bbba42c6e4f181 (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
# Maintainer: Razer <razer[AT]neuf[DOT]fr>
pkgbasename=gnome-shell-extension-bubblemail
pkgname=${pkgbasename}-git
pkgver=21.1.r4.g47c4c74
pkgrel=1
pkgdesc="ew and unread mail indicator (Local, Imap, Pop3, Gmail, Yahoo mail...) for gnome shell - Git version"
pkgfolder="bubblemail-gnome-shell"
provides=("${pkgbasename}")
conflicts=("${pkgbasename}")
arch=(any)
url="https://framagit.org/razer/bubblemail-gnome-shell/"
license=('GPL2')
makedepends=('meson')
depends=('dconf' 'gnome-shell' 'bubblemail-git')
source=("git+https://framagit.org/razer/bubblemail-gnome-shell.git")
sha256sums=('SKIP')

pkgver() {
    cd "${srcdir}/${pkgfolder}"
    git describe --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
    cd ${srcdir}/${pkgfolder}
    meson -Dprefix=/usr _build
    ninja -C _build build
}

package() {
    cp -r ${srcdir}/${pkgfolder}/_build/_package/* ${pkgdir}
}