summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b6fc7952f15f356cd044afb529f0e7d8710756d5 (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
# Maintainer: Jack Random, <jack(at)random(dot)to>
# previous: csllbr; Popsch <popsch@gmx.net>
# Thanks to the maintainers and contributors of the mu binary package

pkgname=mu-git
pkgver=1.3.6.11.gf4874cd7
pkgrel=1
pkgdesc="mu and mu4e from git"
arch=('i686' 'x86_64')
url="http://www.djcbsoftware.nl/code/mu"
depends=('xapian-core' 'guile' 'gmime3')
makedepends=('git')
optdepends=('emacs: mu4e support')
license=('GPL')
provides=('mu')
conflicts=('mu')
source=('git+https://github.com/djcb/mu.git')
md5sums=('SKIP')

pkgver() {
  cd mu
  printf "%s" "$(git describe --tags | tr - .)"
}

prepare() {
  cd mu
  ./autogen.sh
}

build() {
  cd mu
  ./configure --prefix=/usr
}

package() {
  cd mu
  make DESTDIR="$pkgdir" install
}