summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cf78f4eeaef238b11fe69caf4b77d7d06dd518bf (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
# Maintainer: Kevin MacMartin <prurigro@gmail.com>
# Contributor: Patrick Ulbrich <zulu99 at gmx . net>

_pkgname=mailnag-goa-plugin
pkgname=$_pkgname-git
pkgver=20200703.r18.9288bd5
pkgrel=1
pkgdesc='Mailnag GNOME Online Accounts Plugin'
arch=('any')
url='https://github.com/pulb/mailnag-goa-plugin'
license=('GPL')
depends=('mailnag' 'gnome-online-accounts')
source=("git+$url")
sha512sums=('SKIP')
conflicts=("$_pkgname")
provides=("$_pkgname")

pkgver() {
  cd $_pkgname
  printf "%s.r%s.%s" "$(git show -s --format=%ci master | sed 's/\ .*//g;s/-//g')" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  cd $_pkgname
  python setup.py install --root="$pkgdir"
}