diff options
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..238631671276 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +# Generated by mksrcinfo v8 +# Sat Jan 2 17:20:46 UTC 2016 +pkgbase = python-code-chat-git + pkgdesc = Source code to HTML translator (literate programming) + pkgver = 1.2.1.r0.g6c15264 + pkgrel = 1 + url = https://github.com/bjones1/CodeChat + arch = any + license = GPL3 + makedepends = git + makedepends = python-setuptools + depends = python-docutils + provides = python-code-chat + conflicts = python-code-chat + source = python-code-chat-git::git://github.com/bjones1/CodeChat.git + md5sums = SKIP + +pkgname = python-code-chat-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3a2b736455ac --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: willemw <willemw12@gmail.com> + +_pkgname=python-code-chat +pkgname=$_pkgname-git +pkgver=1.2.1.r0.g6c15264 +pkgrel=1 +pkgdesc="Source code to HTML translator (literate programming)" +arch=('any') +url="https://github.com/bjones1/CodeChat" +license=('GPL3') +depends=('python-docutils') +makedepends=('git' 'python-setuptools') +provides=($_pkgname) +conflicts=($_pkgname) +source=($pkgname::git://github.com/bjones1/CodeChat.git) +md5sums=('SKIP') + +pkgver() { + cd $pkgname + git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' +} + +package() { + cd $pkgname + python setup.py install --root="$pkgdir/" --optimize=1 +} + |