summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b16bdeec57ecd725cedc12c7332c5a895877bc18 (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
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=vm-bzr
pkgver=8.2.0b1.r1512
pkgrel=1
pkgdesc="View Mail for Emacs"
arch=('i686' 'x86_64')
url="https://launchpad.net/vm"
license=('GPL')
depends=('emacs' 'stunnel')
makedepends=('bzr')
optdepends=('mailcrypt: for encrypted mails'
'bbdb: for using a rolodex-like db')
provides=('vm')
conflicts=('vm')
options=('!makeflags')
source=("vm::bzr+https://code.launchpad.net/~vm/vm/trunk/")
md5sums=('SKIP')
_bzrmod="vm"

pkgver() {
  cd $srcdir/${_bzrmod}
  printf "%s.r%s" $(head -27 NEWS|tail -1| cut -c4-) $(bzr revno)
}

build() {
  cd "$srcdir/$_bzrmod"
  autoconf
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$_bzrmod"
  make DESTDIR="$pkgdir/" install
}