Date: Sunday, January 24, 2021 @ 21:13:18 Author: anthraxx Revision: 829192
archrelease: copy trunk to community-any Added: asciidoc/repos/community-any/PKGBUILD (from rev 829191, asciidoc/trunk/PKGBUILD) Deleted: asciidoc/repos/community-any/PKGBUILD ----------+ PKGBUILD | 122 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 61 insertions(+), 61 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-01-24 21:13:14 UTC (rev 829191) +++ PKGBUILD 2021-01-24 21:13:18 UTC (rev 829192) @@ -1,61 +0,0 @@ -# Maintainer: Eli Schwartz <eschwa...@archlinux.org> -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> -# Contributor: Florian Pritz <f...@xinu.at> -# Contributor: Chris Brannon <cmbranno...@gmail.com> -# Contributor: Geoffroy Carrier <geoff...@archlinux.org> -# Contributor: Dan McGee <d...@archlinux.org> -# Contributor: Jaroslaw Rosiek <philos...@interia.pl> -# Contributor: Darwin Bautista <djclue...@gmail.com> -# Contributor: Daniel J Griffiths <ghost1...@archlinux.us> - -pkgname=asciidoc -pkgver=9.0.4 -pkgrel=2 -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') -checkdepends=('dblatex' 'graphviz' 'lilypond' 'source-highlight') -optdepends=('graphviz: graphviz-filter' - 'lilypond: music-filter' - 'imagemagick: music-filter' - 'source-highlight: source-highlight-filter' - 'dblatex: pdf generation' - 'fop: alternative pdf generation' - 'w3m: text generation' - 'lynx: alternative text generation') -source=("https://github.com/asciidoc/asciidoc-py3/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz") -sha256sums=('9e269f336a71e8685d03a00c71b55ca029eed9f7baf1afe67c447be32206b176') -b2sums=('3c073e20e0b4cb1c3e43d45217240675d5a1349c5d27c8e03c4499505c17ad0a149f9495a42e28490f9c89f29dc25a1216e9145a6fd1483e589b5fee49a6279f') - -prepare() { - cd ${pkgname}-py3-${pkgver} - - autoconf -} - -build() { - cd ${pkgname}-py3-${pkgver} - - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc - make manpages -} - -check() { - cd ${pkgname}-py3-${pkgver} - - make test -} - -package() { - cd ${pkgname}-py3-${pkgver} - - make install DESTDIR="${pkgdir}" - make docs DESTDIR="${pkgdir}" - - install -Dm644 asciidocapi.py \ - "${pkgdir}/$(python -c 'import sysconfig; print(sysconfig.get_paths()["platlib"])')"/asciidocapi.py -} Copied: asciidoc/repos/community-any/PKGBUILD (from rev 829191, asciidoc/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-01-24 21:13:18 UTC (rev 829192) @@ -0,0 +1,61 @@ +# Maintainer: Eli Schwartz <eschwa...@archlinux.org> +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Florian Pritz <f...@xinu.at> +# Contributor: Chris Brannon <cmbranno...@gmail.com> +# Contributor: Geoffroy Carrier <geoff...@archlinux.org> +# Contributor: Dan McGee <d...@archlinux.org> +# Contributor: Jaroslaw Rosiek <philos...@interia.pl> +# Contributor: Darwin Bautista <djclue...@gmail.com> +# Contributor: Daniel J Griffiths <ghost1...@archlinux.us> + +pkgname=asciidoc +pkgver=9.0.5 +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') +checkdepends=('dblatex' 'graphviz' 'lilypond' 'source-highlight') +optdepends=('graphviz: graphviz-filter' + 'lilypond: music-filter' + 'imagemagick: music-filter' + 'source-highlight: source-highlight-filter' + 'dblatex: pdf generation' + 'fop: alternative pdf generation' + 'w3m: text generation' + 'lynx: alternative text generation') +source=("https://github.com/asciidoc/asciidoc-py3/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha256sums=('b73248717403fe49ef239b2bdb95f2b603e0af15ddd8f5e420f27707010bf95f') +b2sums=('3e5a454f4d47bb3c71e4c180ab05a0d23985473ca83d987435614ddafc9ee0d340a6e6cdafcb7371f719487954233f6d4bae69b4fc7d3818fc1d8e91c94ef36e') + +prepare() { + cd ${pkgname}-py3-${pkgver} + + autoconf +} + +build() { + cd ${pkgname}-py3-${pkgver} + + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc + make manpages +} + +check() { + cd ${pkgname}-py3-${pkgver} + + make test +} + +package() { + cd ${pkgname}-py3-${pkgver} + + make install DESTDIR="${pkgdir}" + make docs DESTDIR="${pkgdir}" + + install -Dm644 asciidocapi.py \ + "${pkgdir}/$(python -c 'import sysconfig; print(sysconfig.get_paths()["platlib"])')"/asciidocapi.py +}