[arch-commits] Commit in asciidoc/repos/community-any (PKGBUILD PKGBUILD)

Florian Pritz bluewind at archlinux.org
Sat Dec 9 18:54:30 UTC 2017


    Date: Saturday, December 9, 2017 @ 18:54:28
  Author: bluewind
Revision: 273398

archrelease: copy trunk to community-any

Added:
  asciidoc/repos/community-any/PKGBUILD
    (from rev 273397, asciidoc/trunk/PKGBUILD)
Deleted:
  asciidoc/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  132 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 67 insertions(+), 65 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-09 18:54:19 UTC (rev 273397)
+++ PKGBUILD	2017-12-09 18:54:28 UTC (rev 273398)
@@ -1,65 +0,0 @@
-# $Id$
-# Contributor: Chris Brannon <cmbrannon79 at gmail.com>
-# Contributor: Geoffroy Carrier <geoffroy at archlinux.org>
-# Contributor: Dan McGee <dan at archlinux.org>
-# Contributor: Jaroslaw Rosiek <philosoph at interia.pl>
-# Contributor: Darwin Bautista <djclue917 at gmail.com>
-# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
-# Maintainer: Florian Pritz <flo at xinu.at>
-
-pkgname=asciidoc
-pkgver=8.6.9
-pkgrel=3
-pkgdesc='Text document format for short documents, articles, books and UNIX man pages.'
-arch=('any')
-url='http://www.methods.co.nz/asciidoc/'
-license=('GPL')
-depends=('python2' 'libxslt' 'docbook-xsl')
-optdepends=('lilypond: music-filter'
-            'imagemagick: music-filter (used in conjunction with lilypond)'
-            'source-highlight: source-highlight-filter'
-            'dblatex: pdf generation'
-            'fop: alternative pdf generation'
-            'lynx: text generation'
-            'w3m: text generation (alternative to lynx)')
-source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-md5sums=('c59018f105be8d022714b826b0be130a')
-
-prepare() {
-  cd ${pkgname}-${pkgver}
-
-  # python2 fix
-  for file in asciidocapi.py a2x.py asciidoc.py filters/music/music2png.py filters/latex/latex2png.py \
-	  filters/code/code-filter.py filters/graphviz/graphviz2png.py; do
-	sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file
-  done
-  #sed -i -e 's_sys:python_sys:python2_g' -e 's_sys3:python_sys3:python2_g' xhtml11.conf
-  #sed -i 's_sys:python_sys:python2_g' xhtml11-quirks.conf
-  #sed -i -e 's/{python}/{python2}/g' \
-	  #-e 's#{language at python:py:#{language at python2:py:#' \
-	  #filters/source/source-highlight-filter.conf \
-	  #html5.conf xhtml11.conf xhtml11-quirks.conf
-  #sed -i -e "s#'python'#'python2'#g" filters/code/code-filter.py
-}
-
-build() {
-  cd ${pkgname}-${pkgver}
-
-  ./configure \
-    --prefix=/usr \
-    --sysconfdir=/etc
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-
-  make install DESTDIR=${pkgdir}
-  make docs DESTDIR=${pkgdir}
-
-  install -Dm644 asciidocapi.py \
-    ${pkgdir}/usr/lib/python2.7/site-packages/asciidocapi.py
-
-  # fix FS#21579 - [asciidoc] 8.6.2-2 "asciidoc" table style doesn't work (mismatched python version) 
-  #sed -i 's/python/python2/' \
-    #${pkgdir}/etc/asciidoc/asciidoc.conf
-}

Copied: asciidoc/repos/community-any/PKGBUILD (from rev 273397, asciidoc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-12-09 18:54:28 UTC (rev 273398)
@@ -0,0 +1,67 @@
+# $Id$
+# Contributor: Chris Brannon <cmbrannon79 at gmail.com>
+# Contributor: Geoffroy Carrier <geoffroy at archlinux.org>
+# Contributor: Dan McGee <dan at archlinux.org>
+# Contributor: Jaroslaw Rosiek <philosoph at interia.pl>
+# Contributor: Darwin Bautista <djclue917 at gmail.com>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+# Maintainer: Florian Pritz <flo at xinu.at>
+
+pkgname=asciidoc
+pkgver=8.6.10
+pkgrel=1
+pkgdesc='Text document format for short documents, articles, books and UNIX man pages.'
+arch=('any')
+url='http://www.methods.co.nz/asciidoc/'
+license=('GPL')
+depends=('python2' 'libxslt' 'docbook-xsl')
+optdepends=('lilypond: music-filter'
+            'imagemagick: music-filter (used in conjunction with lilypond)'
+            'source-highlight: source-highlight-filter'
+            'dblatex: pdf generation'
+            'fop: alternative pdf generation'
+            'lynx: text generation'
+            'w3m: text generation (alternative to lynx)')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/asciidoc/asciidoc/archive/${pkgver}.tar.gz")
+md5sums=('4e69960f4d431780e9828f53417d8d7a')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+
+  # python2 fix
+  #for file in asciidocapi.py a2x.py asciidoc.py filters/music/music2png.py filters/latex/latex2png.py \
+	  #filters/code/code-filter.py filters/graphviz/graphviz2png.py; do
+	#sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file
+  #done
+  #sed -i -e 's_sys:python_sys:python2_g' -e 's_sys3:python_sys3:python2_g' xhtml11.conf
+  #sed -i 's_sys:python_sys:python2_g' xhtml11-quirks.conf
+  #sed -i -e 's/{python}/{python2}/g' \
+	  #-e 's#{language at python:py:#{language at python2:py:#' \
+	  #filters/source/source-highlight-filter.conf \
+	  #html5.conf xhtml11.conf xhtml11-quirks.conf
+  #sed -i -e "s#'python'#'python2'#g" filters/code/code-filter.py
+  sed -i -e 's#python a2x.py#python2 a2x.py#' Makefile.in
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+
+  autoconf
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+
+  make install DESTDIR=${pkgdir}
+  make docs DESTDIR=${pkgdir}
+
+  install -Dm644 asciidocapi.py \
+    ${pkgdir}/usr/lib/python2.7/site-packages/asciidocapi.py
+
+  # fix FS#21579 - [asciidoc] 8.6.2-2 "asciidoc" table style doesn't work (mismatched python version) 
+  #sed -i 's/python/python2/' \
+    #${pkgdir}/etc/asciidoc/asciidoc.conf
+}



More information about the arch-commits mailing list