Date: Thursday, October 19, 2017 @ 16:56:30 Author: felixonmars Revision: 263645
archrelease: copy trunk to community-any Added: man-pages-zh/repos/community-any/PKGBUILD (from rev 263644, man-pages-zh/trunk/PKGBUILD) Deleted: man-pages-zh/repos/community-any/PKGBUILD ----------+ PKGBUILD | 98 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 49 insertions(+), 49 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-10-19 16:56:08 UTC (rev 263644) +++ PKGBUILD 2017-10-19 16:56:30 UTC (rev 263645) @@ -1,49 +0,0 @@ -# $Id$ -# 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.1 -pkgrel=1 -arch=('any') -url='https://github.com/man-pages-zh/manpages-zh' -license=('GPL2') -depends=('man-db') -makedepends=('opencc' 'python' 'git') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/man-pages-zh/manpages-zh/archive/v$pkgver.tar.gz") -sha512sums=('4a7acc415195ed108e80b2ec3e92ade903a66e187c69937c84727ba6d95bbc441e2500e1adbc09f07bdd8c57ba6ee8d2708fbbcfa6f375cf8dc5bc4808de40cd') - -build() { - cd manpages-zh-$pkgver - autoreconf -i - ./configure --prefix=/usr - make -} - -package_man-pages-zh_cn() { - pkgdesc='Simplified Chinese Linux man pages' - - cd manpages-zh-$pkgver - 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 manpages-zh-$pkgver - 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 263644, man-pages-zh/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-10-19 16:56:30 UTC (rev 263645) @@ -0,0 +1,49 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# 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.2 +pkgrel=1 +arch=('any') +url='https://github.com/man-pages-zh/manpages-zh' +license=('GPL2') +depends=('man-db') +makedepends=('opencc' 'python' 'git') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/man-pages-zh/manpages-zh/archive/v$pkgver.tar.gz") +sha512sums=('61171406482a24c3dfd1b6303af3d7fb086466d5f05d5799f50488beb78c91c5d1bcf574aab669b71fa0f027691a0be1a1d254d08f823ff4bd8bf976e0c83dff') + +build() { + cd manpages-zh-$pkgver + autoreconf -i + ./configure --prefix=/usr + make +} + +package_man-pages-zh_cn() { + pkgdesc='Simplified Chinese Linux man pages' + + cd manpages-zh-$pkgver + 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 manpages-zh-$pkgver + 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* +}