summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0d22f20a3e2756c8aeb7fbf61d74cd29e7ec636b (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
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=emacs-ess-git
pkgver=18.10.3.git.9041.39eba283
pkgrel=1
pkgdesc="A Universal Interface for Statistical Analysis - git-version"
arch=(any)
url="https://ess.r-project.org"
license=(GPL)
depends=(r emacs)
makedepends=(git wget texlive-latexextra)
provides=(ess emacs-ess)
conflicts=(emacs-ess emacs-ess-svn)
options=('docs' '!makeflags')
install=ess.install
source=(emacs-ess::git+https://github.com/emacs-ess/ESS.git)
sha512sums=('SKIP')

pkgver() {
  cd ${pkgname%-git}
  printf "%s.%s.%s" $(cat VERSION | sed 's+snapshot+.git+') $(git rev-list --count HEAD) $(git rev-parse --short HEAD)
}

package() {
  cd ${pkgname%-git}
  make DESTDIR="${pkgdir}"/usr LISPDIR="${pkgdir}"/usr/share/emacs/site-lisp/ess \
    INFODIR="${pkgdir}"/usr/share/info/ install || true
}