summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fe7e3a30a812c708f728b86f3499df3d42854448 (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
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: fl4ppie at gmail dot com
# Contributor: bender02 at gmx dot com

pkgname=emacs-planner-git
pkgver=3.42.r23.g145e9e3
pkgrel=1
pkgdesc="A Personal Information Management tool for emacs from git"
arch=('any')
url="http://www.emacswiki.org/cgi-bin/wiki/PlannerMode"
license=('GPL')
depends=('emacs-muse')
makedepends=('git')
provides=('emacs-planner')
conflicts=('emacs-planner')
source=("git://repo.or.cz/planner-el.git")
md5sums=('SKIP')
_gitname="planner-el"

pkgver() {
  cd "$srcdir"/"$_gitname"
  git describe --tags | sed 's|-|.r|' | tr - . | cut -c2-
}

build() {
  cd "$srcdir"/"$_gitname"
  make
}

package() {
  cd "$srcdir/$_gitname"
  make INFODIR=$pkgdir/usr/share/info PREFIX=$pkgdir/usr install
}