summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancisco Pina Martins2015-06-09 13:55:39 +0100
committerFrancisco Pina Martins2015-06-09 13:55:39 +0100
commit35cd33ce8926d729815f4697f2c075a1b26f668f (patch)
tree7355475c29c1f43e46b1e03bb4db6cc14f0aba9d
downloadaur-35cd33ce8926d729815f4697f2c075a1b26f668f.tar.gz
Initial import.
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD32
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..cff33e4962f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = landslide-git
+ pkgdesc = Generate html5 slideshow from Markdown or reStructuredText sources
+ pkgver = 20121108
+ pkgrel = 1
+ url = http://github.com/adamzap/landslide
+ arch = any
+ license = Apache License
+ makedepends = python2-distribute
+ depends = python2
+ depends = python2-pygments
+ depends = python2-markdown
+ depends = python2-jinja
+ depends = python2-docutils
+ optdepends = princexml
+ conflicts = landslide
+ source = git+git://github.com/adamzap/landslide.git
+ md5sums = SKIP
+
+pkgname = landslide-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6baddeb837f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Stunts <f.pinamartins@gmail.com>
+_pkgname=landslide
+pkgname=${_pkgname}-git
+pkgver=20121108
+pkgrel=1
+pkgdesc="Generate html5 slideshow from Markdown or reStructuredText sources"
+arch=(any)
+url="http://github.com/adamzap/landslide"
+license=('Apache License')
+depends=('python2' 'python2-pygments' 'python2-markdown' 'python2-jinja' 'python2-docutils')
+makedepends=('python2-distribute')
+optdepends=('princexml')
+conflicts=(landslide)
+source=('git+git://github.com/adamzap/landslide.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd ${srcdir}/${_pkgname}
+ git log -1 --format='%cd' --date=short | tr -d --'-'
+}
+
+build() {
+ cd ${srcdir}/${_pkgname}
+ python2 setup.py build
+}
+
+package() {
+ cd ${srcdir}/${_pkgname}
+ python2 setup.py install --prefix=/usr --root="${pkgdir}"
+ find "${pkgdir}/" -name '*.pyc' -delete
+ find "${pkgdir}/" -type d -empty -delete
+}