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

pkgname=pure-docs-hg
pkgver=39.c45a07b
pkgrel=1
pkgdesc="Pure Language and Library Documentation, latest snapshot"
arch=('any')
url="http://purelang.bitbucket.org/"
license=('FDL')
provides=('pure-docs=0.58')
conflicts=('pure-docs')
source=("git+https://bitbucket.org/puredocs/puredocs.bitbucket.org")
makedepends=('git')
md5sums=(SKIP)

pkgver() {
  cd $srcdir/puredocs.bitbucket.org
  echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

build() {
  cd $srcdir/puredocs.bitbucket.org
  make 
}

package() {
  cd $srcdir/puredocs.bitbucket.org
  make DESTDIR="$pkgdir" install install-tm
}

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