summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/pelican/PKGBUILD49
-rw-r--r--pcr/python-pelican/PKGBUILD20
2 files changed, 49 insertions, 20 deletions
diff --git a/pcr/pelican/PKGBUILD b/pcr/pelican/PKGBUILD
new file mode 100644
index 000000000..5b5ee703f
--- /dev/null
+++ b/pcr/pelican/PKGBUILD
@@ -0,0 +1,49 @@
+# Maintainer (Arch): Stefan Tatschner <rumpelsepp@sevenbyte.org>
+# Contributor (Arch): David Runge <dave@sleepmap.de>
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
+
+pkgname=pelican
+pkgver=3.6.3
+pkgrel=3
+pkgdesc="A tool to generate a static blog, with restructured text (or markdown) input files."
+arch=('any')
+url="http://getpelican.com"
+license=('AGPL3')
+makedepends=('python-sphinx' 'python-blinker')
+depends=('python-jinja' 'python-pygments' 'python-feedgenerator' 'python-pytz'
+ 'python-docutils' 'python-blinker' 'python-unidecode' 'python-six'
+ 'python-dateutil')
+optdepends=('python-markdown: Markdown support'
+ 'asciidoc: AsciiDoc support'
+ 'python-beautifulsoup4: importing from wordpress/dotclear/posterous'
+ 'python-feedparser: importing from feeds'
+ 'python-rst2pdf: PDF generation'
+ 'openssh: uploading through SSH'
+ 'rsync: uploading through rsync+SSH'
+ 'lftp: uploading through FTP'
+ 's3cmd: uploading through S3'
+ 'ghp-import: uploading through gh-pages'
+ 'python-typogrify: typographical enhancements'
+ 'python-mdx-video: easier embedding of youtube videos in markdown')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/getpelican/pelican/archive/$pkgver.tar.gz")
+replaces=("python-$pkgname")
+conflicts=("python-$pkgname")
+sha256sums=('d19bc7df61afc5b68eba028f0cf0832ee2a12a04a01d7fe11bdfdd847ddd417b')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver/docs/"
+ make man
+ make text
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ install -d "$pkgdir/usr/share/man/man1/"
+ install -Dm644 docs/_build/man/*.1 "$pkgdir/usr/share/man/man1/"
+
+ install -d "$pkgdir/usr/share/doc/pelican/"
+ install -Dm644 docs/_build/text/*.txt "$pkgdir/usr/share/doc/pelican/"
+
+ python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+}
diff --git a/pcr/python-pelican/PKGBUILD b/pcr/python-pelican/PKGBUILD
deleted file mode 100644
index 5138a82d0..000000000
--- a/pcr/python-pelican/PKGBUILD
+++ /dev/null
@@ -1,20 +0,0 @@
-pkgname=python-pelican
-pkgver=3.5.0
-pkgrel=2
-pkgdesc="Static blog generator"
-arch=("any")
-url="http://getpelican.com/"
-license=('AGPL3')
-depends=('python' 'python-feedgenerator' 'python-jinja' 'python-pygments'
- 'python-docutils' 'python-pytz' 'python-blinker' 'python-unidecode'
- 'python-six' 'python-distribute')
-options=(!emptydirs)
-source=("https://pypi.python.org/packages/source/p/pelican/pelican-$pkgver.tar.gz")
-md5sums=('af9a3deafb4683a109a5c44e6d6138aa')
-
-package() {
- cd "$srcdir/pelican-$pkgver"
- python setup.py install --root="$pkgdir/" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et: