[arch-commits] Commit in asciidoc/repos/community-any (PKGBUILD PKGBUILD)
Caleb Maclennan
alerque at gemini.archlinux.org
Tue Mar 1 19:26:14 UTC 2022
Date: Tuesday, March 1, 2022 @ 19:26:14
Author: alerque
Revision: 1139040
archrelease: copy trunk to community-any
Added:
asciidoc/repos/community-any/PKGBUILD
(from rev 1139039, asciidoc/trunk/PKGBUILD)
Deleted:
asciidoc/repos/community-any/PKGBUILD
----------+
PKGBUILD | 128 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 63 insertions(+), 65 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-01 19:26:00 UTC (rev 1139039)
+++ PKGBUILD 2022-03-01 19:26:14 UTC (rev 1139040)
@@ -1,65 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Maintainer: Caleb Maclennan <caleb at alerque.com>
-# Contributor: Eli Schwartz <eschwartz at archlinux.org>
-# Contributor: Florian Pritz <flo at xinu.at>
-# 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>
-
-pkgname=asciidoc
-pkgver=10.1.3
-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' 'python-pytest'{,-mock} 'source-highlight')
-makedepends=('python-pip')
-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-py/asciidoc-py/releases/download/$pkgver/$pkgname-$pkgver.tar.gz")
-sha256sums=('6cc01bea6ba435cafcc579753742b9c7e5438a61443bdd14110115d7a4dd90a5')
-b2sums=('61de9eaf7fe8570a1447d2ad514ad9baa97bd49f48dbde41b35a69019ee8bddae538a525880e866e531afcfc21179bbbc7e6c106d75265b2755309dc51faa451')
-
-prepare() {
- cd ${pkgname}-${pkgver}
- # https://github.com/asciidoc-py/asciidoc-py/issues/201#issuecomment-1047494681
- sed -i -e '/pytest$/s!$! tests/test_utils.py!' Makefile.in
- # https://github.com/asciidoc-py/asciidoc-py/issues/234
- autoconf
-}
-
-build() {
- cd ${pkgname}-${pkgver}
- # https://github.com/asciidoc-py/asciidoc-py/issues/234#issuecomment-1045970138
- ./configure \
- --docdir /usr/share/doc/$pkgname \
- --prefix /usr
- make build
- make manpages
-}
-
-check() {
- cd ${pkgname}-${pkgver}
- make test
-}
-
-package() {
- cd ${pkgname}-${pkgver}
- make DESTDIR="${pkgdir}" install
- make DESTDIR="${pkgdir}" docs
- install -Dm0644 -t "$pkgdir/usr/share/man/man1/" doc/*.1
- # ascidocapi is deprecated, but still included in 10.x on a "provisional" basis
- local _platlib="$(python -c 'import sysconfig; print(sysconfig.get_paths()["platlib"])')"
- install -Dm0644 -t "${pkgdir}/${_platlib}/${pkgname}/" asciidoc/api.py
-}
Copied: asciidoc/repos/community-any/PKGBUILD (from rev 1139039, asciidoc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-01 19:26:14 UTC (rev 1139040)
@@ -0,0 +1,63 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Eli Schwartz <eschwartz at archlinux.org>
+# Contributor: Florian Pritz <flo at xinu.at>
+# 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>
+
+pkgname=asciidoc
+pkgver=10.1.4
+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' 'python-pytest'{,-mock} 'source-highlight')
+makedepends=('python-pip')
+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-py/asciidoc-py/releases/download/$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('e4da7cc2af7fa12029156c0788fde2a53db1352d7dcb3e674a9d546b3bdba93f')
+b2sums=('86715b0d03fe112483e9e774af1b1bed8f9f88972c5de2b147e86f6501e7639e6683a96c93248efb71cf38f89b15a2ecf0b2d098c4e57af8768e8bedc2ef7e70')
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ # https://github.com/asciidoc-py/asciidoc-py/issues/234
+ autoconf
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+ # https://github.com/asciidoc-py/asciidoc-py/issues/234#issuecomment-1045970138
+ ./configure \
+ --docdir /usr/share/doc/$pkgname \
+ --prefix /usr
+ make build
+ make manpages
+}
+
+check() {
+ cd ${pkgname}-${pkgver}
+ make test
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+ make DESTDIR="${pkgdir}" docs
+ install -Dm0644 -t "$pkgdir/usr/share/man/man1/" doc/*.1
+ # ascidocapi is deprecated, but still included in 10.x on a "provisional" basis
+ local _platlib="$(python -c 'import sysconfig; print(sysconfig.get_paths()["platlib"])')"
+ install -Dm0644 -t "${pkgdir}/${_platlib}/${pkgname}/" asciidoc/api.py
+}
More information about the arch-commits
mailing list