summaryrefslogtreecommitdiffstats
path: root/abs/extra/asciidoc/PKGBUILD
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-19 03:34:45 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-19 03:34:45 (GMT)
commit465caaa7fec66f5b7bca62c41a7d4ac44c138494 (patch)
treec69fa07b3b7392687fde8e3ef8228734c063fcff /abs/extra/asciidoc/PKGBUILD
parenta21e03a0aba2416a3ba311c2b5ebc31bac83cd9b (diff)
downloadlinhes_pkgbuild-465caaa7fec66f5b7bca62c41a7d4ac44c138494.zip
linhes_pkgbuild-465caaa7fec66f5b7bca62c41a7d4ac44c138494.tar.gz
linhes_pkgbuild-465caaa7fec66f5b7bca62c41a7d4ac44c138494.tar.bz2
asciidoc: upgrade
Diffstat (limited to 'abs/extra/asciidoc/PKGBUILD')
-rw-r--r--abs/extra/asciidoc/PKGBUILD16
1 files changed, 11 insertions, 5 deletions
diff --git a/abs/extra/asciidoc/PKGBUILD b/abs/extra/asciidoc/PKGBUILD
index 2a73a22..e7ab081 100644
--- a/abs/extra/asciidoc/PKGBUILD
+++ b/abs/extra/asciidoc/PKGBUILD
@@ -6,13 +6,13 @@
# Contributor: Darwin Bautista <djclue917@gmail.com>
pkgname=asciidoc
-pkgver=8.5.3
-pkgrel=2
+pkgver=8.6.3
+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=('python' 'libxslt' 'docbook-xsl')
+depends=('python2' 'libxslt' 'docbook-xsl')
optdepends=('lilypond: music-filter'
'imagemagick: music-filter (used in conjunction with lilypond)'
'source-highlight: source-highlight-filter'
@@ -24,7 +24,13 @@ source=(http://downloads.sourceforge.net/asciidoc/asciidoc-${pkgver}.tar.gz)
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc || return 1
+}
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
make install DESTDIR="${pkgdir}" || return 1
- install -Dm644 asciidocapi.py ${pkgdir}/usr/lib/python2.6/site-packages/asciidocapi.py
+ install -Dm644 asciidocapi.py ${pkgdir}/usr/lib/python2.7/site-packages/asciidocapi.py
+
+ find "$pkgdir/" -name '*.py' | \
+ xargs sed -i "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|"
}
-md5sums=('7377872275c2a575151655b19ac6dd3e')
+md5sums=('1ef39786ee1b4c8a788584e73db2c55a')