Date: Wednesday, April 5, 2017 @ 05:30:06 Author: felixonmars Revision: 220530
archrelease: copy trunk to community-any Added: man-pages-zh/repos/community-any/PKGBUILD (from rev 220529, man-pages-zh/trunk/PKGBUILD) Deleted: man-pages-zh/repos/community-any/PKGBUILD ----------+ PKGBUILD | 96 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 48 insertions(+), 48 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-04-05 05:29:48 UTC (rev 220529) +++ PKGBUILD 2017-04-05 05:30:06 UTC (rev 220530) @@ -1,48 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@gmail.com> -# Contributor: dick...@gmail.com -# Contributor: cuihao <cuihao dot leo at gmail dot com> - -pkgbase=man-pages-zh -pkgname=(man-pages-zh_cn man-pages-zh_tw) -pkgver=1.6.2.1 -pkgrel=1 -arch=('any') -url='https://github.com/man-pages-zh/manpages-zh' -license=('GPL2') -depends=('man-db') -makedepends=('opencc' 'python' 'git') -source=("git+https://github.com/man-pages-zh/manpages-zh.git#tag=v$pkgver") -md5sums=('SKIP') - -build() { - cd "${srcdir}/manpages-zh" - autoreconf -i - ./configure --prefix=/usr - make -} - -package_man-pages-zh_cn() { - pkgdesc='Simplified Chinese Linux man pages' - - cd "${srcdir}/manpages-zh" - make install DESTDIR="${pkgdir}" - - rm -r "${pkgdir}/usr/share/man/zh_TW" - - # remove conflicted files with shadow - cd "${pkgdir}/usr/share/man/zh_CN" - rm -f ./man1/groups* -} - -package_man-pages-zh_tw() { - pkgdesc='Traditional Chinese Linux man pages' - - cd "${srcdir}/manpages-zh" - make install DESTDIR="${pkgdir}" - - rm -r "${pkgdir}/usr/share/man/zh_CN" - - # remove conflicted files with shadow - cd "${pkgdir}/usr/share/man/zh_TW" - rm -f ./man1/groups* -} Copied: man-pages-zh/repos/community-any/PKGBUILD (from rev 220529, man-pages-zh/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-04-05 05:30:06 UTC (rev 220530) @@ -0,0 +1,48 @@ +# Maintainer: Felix Yan <felixonm...@gmail.com> +# Contributor: dick...@gmail.com +# Contributor: cuihao <cuihao dot leo at gmail dot com> + +pkgbase=man-pages-zh +pkgname=(man-pages-zh_cn man-pages-zh_tw) +pkgver=1.6.3 +pkgrel=1 +arch=('any') +url='https://github.com/man-pages-zh/manpages-zh' +license=('GPL2') +depends=('man-db') +makedepends=('opencc' 'python' 'git') +source=("git+https://github.com/man-pages-zh/manpages-zh.git#tag=v$pkgver") +sha512sums=('SKIP') + +build() { + cd "${srcdir}/manpages-zh" + autoreconf -i + ./configure --prefix=/usr + make +} + +package_man-pages-zh_cn() { + pkgdesc='Simplified Chinese Linux man pages' + + cd "${srcdir}/manpages-zh" + make install DESTDIR="${pkgdir}" + + rm -r "${pkgdir}/usr/share/man/zh_TW" + + # remove conflicted files with shadow + cd "${pkgdir}/usr/share/man/zh_CN" + rm -f ./man1/groups* +} + +package_man-pages-zh_tw() { + pkgdesc='Traditional Chinese Linux man pages' + + cd "${srcdir}/manpages-zh" + make install DESTDIR="${pkgdir}" + + rm -r "${pkgdir}/usr/share/man/zh_CN" + + # remove conflicted files with shadow + cd "${pkgdir}/usr/share/man/zh_TW" + rm -f ./man1/groups* +}