summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8e7302572d4f33166a4af9482086643023c20b67 (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
_name=sph-web-publish
pkgname=$_name-git
pkgver=42
pkgrel=1
pkgdesc="static site generator"
arch=(any)
license=(gpl3+)
makedepends=(git)
depends=(guile guile-commonmark sph-lib)
optdepends=(rsync graphicsmagick)
provides=($_name)
conflicts=($_name)
source=("git://git.sph.mn/$_name")
url="http://sph.mn"
md5sums=(SKIP)

pkgver() {
  cd $_name
  git rev-list --count HEAD
}

package() {
  cd $_name
  ./exe/install "$pkgdir"
}