Date: Wednesday, May 25, 2022 @ 08:07:03 Author: grawlinson Revision: 1210330
archrelease: copy trunk to community-any Added: arch-wiki-docs/repos/community-any/PKGBUILD (from rev 1210329, arch-wiki-docs/trunk/PKGBUILD) Deleted: arch-wiki-docs/repos/community-any/PKGBUILD ----------+ PKGBUILD | 64 ++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 36 insertions(+), 28 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-05-25 08:06:15 UTC (rev 1210329) +++ PKGBUILD 2022-05-25 08:07:03 UTC (rev 1210330) @@ -1,28 +0,0 @@ -# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> - -pkgname=arch-wiki-docs -pkgdesc="Pages from Arch Wiki optimized for offline browsing" -pkgver=20211222 -_commit=216a2170262f5b1ee4af3ac9b565fd3be2752df9 -pkgrel=1 -arch=('any') -url="https://github.com/lahwaacz/arch-wiki-docs" -license=('FDL') -options=('!strip') -makedepends=('git' 'python' 'python-simplemediawiki' 'python-lxml' 'python-cssselect' 'python-requests') -source=("git://github.com/lahwaacz/arch-wiki-docs.git#commit=${_commit}") -md5sums=('SKIP') - -pkgver() { - date "+%Y%m%d" -} - -prepare() { - cd "$pkgname" - LANG=en_US.UTF-8 python arch-wiki-docs.py --output-directory "$srcdir/build_wiki" --clean --safe-filenames -} - -package() { - install -dm755 "$pkgdir/usr/share/doc/arch-wiki/html" - cp -r "$srcdir"/build_wiki/* "$pkgdir/usr/share/doc/arch-wiki/html/" -} Copied: arch-wiki-docs/repos/community-any/PKGBUILD (from rev 1210329, arch-wiki-docs/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-05-25 08:07:03 UTC (rev 1210330) @@ -0,0 +1,36 @@ +# Maintainer: George Rawlinson <grawlin...@archlinux.org> +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> + +pkgname=arch-wiki-docs +pkgver=20220525 +pkgrel=1 +pkgdesc='Pages from Arch Wiki optimized for offline browsing' +arch=('any') +url='https://github.com/lahwaacz/arch-wiki-docs' +license=('FDL') +makedepends=( + 'git' 'python' 'python-simplemediawiki' 'python-lxml' 'python-cssselect' 'python-requests' +) +options=('!strip') +_commit='216a2170262f5b1ee4af3ac9b565fd3be2752df9' +source=("$pkgname::git+https://github.com/lahwaacz/arch-wiki-docs#commit=$_commit") +b2sums=('SKIP') + +pkgver() { + date "+%Y%m%d" +} + +prepare() { + cd "$pkgname" + + LANG=en_US.UTF-8 python \ + arch-wiki-docs.py \ + --output-directory "$srcdir/build_wiki" \ + --clean \ + --safe-filenames +} + +package() { + install -vdm755 "$pkgdir/usr/share/doc/arch-wiki/html" + cp -r build_wiki/* "$pkgdir/usr/share/doc/arch-wiki/html" +}