summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: aa53a7f0f854c6732f200936cb4f7ef958f19b9f (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
# Maintainer: csllbr; Popsch <popsch@gmx.net>
# Thanks to the maintainers and contributors of the mu binary package

pkgname=mu-git
pkgver=v0.9.16
pkgrel=3
pkgdesc="mu and mu4e from git"
arch=('i686' 'x86_64')
url="http://www.djcbsoftware.nl/code/mu"
depends=(xapian-core gmime sqlite3)
makedepends=(git libtool)
optdepends=('guile: guile support',
            '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|sed 's+-+.+g')"
}

build() {
  cd mu
  autoreconf -i
  sed -i 's|MUGDIR|"/usr/share/pixmaps"|' toys/mug/mug.c
  ./configure --prefix=/usr --disable-webkit --disable-gtk
}

package() {
  cd mu
  make DESTDIR=$pkgdir install
  install -Dm644 COPYING $pkgdir/usr/share/licenses/mu/COPYING
}