summaryrefslogtreecommitdiff
path: root/pcr/shocco/PKGBUILD
blob: f19b9d5756cf7254a46f29c343b9c39f9a912930 (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.2
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")
sha256sums=('b3454ca818329955043b166a9808847368fd48dbe94c4b819a9f0c02cf57ce2e')

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"
}