summaryrefslogtreecommitdiff
path: root/pcr/shocco
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-06-22 22:50:02 -0600
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-06-22 22:50:02 -0600
commit61b8f59a9c873dc16cf119b1b2afc81f4e6fbbd6 (patch)
tree39182eb2dd6aba890250fa5e5e84cd428444820d /pcr/shocco
parente3fcb859a7965438bbb6622935ff6c8a099833d0 (diff)
add pcr/shocco
Diffstat (limited to 'pcr/shocco')
-rw-r--r--pcr/shocco/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/pcr/shocco/PKGBUILD b/pcr/shocco/PKGBUILD
new file mode 100644
index 000000000..32baa6d2d
--- /dev/null
+++ b/pcr/shocco/PKGBUILD
@@ -0,0 +1,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"
+}