asciidoc: update to 9.0.1
Switch to release tarball
This commit is contained in:
@@ -1,16 +1,13 @@
|
||||
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
|
||||
|
||||
pkgname=asciidoc
|
||||
_basever=9.0.0
|
||||
_subver=rc2
|
||||
pkgver=${_basever}${_subver}
|
||||
pkgver=9.0.1
|
||||
pkgrel=1
|
||||
pkgdesc='Text document format for short documents, articles, books and UNIX man pages.'
|
||||
arch=('any')
|
||||
url='https://asciidoc.org/'
|
||||
license=('GPL')
|
||||
depends=('python' 'libxslt' 'docbook-xsl')
|
||||
makedepends=('tar')
|
||||
groups=('base-devel')
|
||||
# optdepends=('lilypond: music-filter'
|
||||
# 'imagemagick: music-filter (used in conjunction with lilypond)'
|
||||
@@ -19,22 +16,18 @@ groups=('base-devel')
|
||||
# 'fop: alternative pdf generation'
|
||||
# 'lynx: text generation'
|
||||
# 'w3m: text generation (alternative to lynx)')
|
||||
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/asciidoc/asciidoc-py3/archive/${pkgver}.tar.gz"
|
||||
source=("https://github.com/asciidoc/asciidoc-py3/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz"
|
||||
0001-W32-confdir.msys2.patch)
|
||||
noextract=("${pkgname}-${pkgver}.tar.gz")
|
||||
sha256sums=('ae4730dccaa9d5026e7d7f1bccc0cb28ebfc71e62f10151082e8a00d90708cbb'
|
||||
sha256sums=('26ba534b9cc00596febc1b2386fca65d03be0dfbb73f7e1279eeb87637e851c7'
|
||||
'71f44b513f627b133afead38576fcb8a5460d0514174a4ce219c6ea761d8b40c')
|
||||
|
||||
prepare() {
|
||||
tar -xzvf ${pkgname}-${pkgver}.tar.gz --recursive-unlink
|
||||
|
||||
cd ${pkgname}-py3-${pkgver}
|
||||
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
patch -p1 -i ${srcdir}/0001-W32-confdir.msys2.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
cd ${pkgname}-py3-${pkgver}
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
|
||||
autoreconf -fi
|
||||
|
||||
@@ -46,7 +39,7 @@ build() {
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${pkgname}-py3-${pkgver}
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
|
||||
make install DESTDIR=${pkgdir}
|
||||
|
||||
@@ -54,7 +47,4 @@ package() {
|
||||
|
||||
install -Dm644 asciidocapi.py \
|
||||
${pkgdir}/usr/lib/python${_pyver}/site-packages/asciidocapi.py
|
||||
|
||||
install -Dm644 vim/syntax/asciidoc.vim \
|
||||
${pkgdir}/usr/share/vim/vimfiles/syntax/asciidoc.vim
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user