summaryrefslogtreecommitdiff
path: root/pcr/shocco/PKGBUILD
blob: 22c84cb645feb05433b56a8c58c08f78955b7707 (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
# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>

pkgname="shocco"
pkgver=1.0
pkgrel=1.1
pkgdesc="Docco-like documentation generator for POSIX shell"
arch=('any')
url="http://rtomayko.github.com/shocco/"
license=('MIT')
depends=('markdown' 'pygmentize')
optdepends=('ronn: builds man pages')

source=("https://github.com/rtomayko/shocco/archive/$pkgver.tar.gz")
md5sums=('a2833b69b22d406d47e0826083c3960d')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr
  make -j1
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  install -Dm755 shocco "$pkgdir/usr/bin/shocco"
  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}