summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c5ba40bcf23a1b724c2e42f357ae69729bd169fe (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
# -*- shell-script -*-
# Maintainer: Albert Graef <aggraef at gmail.com>

pkgname=pure-docs-git
pkgver=r99.7393a3b
pkgrel=1
pkgdesc="Pure Language and Library Documentation, latest snapshot"
arch=('any')
url="https://agraef.github.io/pure-lang/"
license=('FDL')
provides=('pure-docs')
conflicts=('pure-docs')
replaces=('pure-docs-hg')
source=("pure-docs::git+https://github.com/agraef/pure-docs.git")
makedepends=('git')
md5sums=(SKIP)

pkgver() {
  cd $srcdir/pure-docs
  echo r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

build() {
  cd $srcdir/pure-docs
  make -j1
}

package() {
  cd $srcdir/pure-docs
  make -j1 DESTDIR="$pkgdir" install install-tm
}

# vim:set ts=2 sw=2 et: