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

pkgname="shocco"
pkgver=1.0
pkgdesc="Docco-like documentation generator for POSIX shell"
url="http://rtomayko.github.com/shocco/"
license=('custom:MIT')

pkgrel=1
arch=('any')
depends=('markdown' 'python2-pygments')
optdepends=('ronn: builds man pages')

source=("libre://$pkgname-$pkgver.tar.gz")
md5sums=('edaed31d14a2c16e6303c07e24e7bc9a')

mksource=("git://github.com/rtomayko/shocco.git#tag=${pkgver}")
mkmd5sums=('SKIP')

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

package() {
  cd "$srcdir/$pkgname"
  make -j1 install
  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}