[arch-commits] Commit in man-pages-zh/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Dec 15 09:08:02 UTC 2016
Date: Thursday, December 15, 2016 @ 09:08:01
Author: felixonmars
Revision: 199469
archrelease: copy trunk to community-any
Added:
man-pages-zh/repos/community-any/PKGBUILD
(from rev 199468, man-pages-zh/trunk/PKGBUILD)
Deleted:
man-pages-zh/repos/community-any/PKGBUILD
----------+
PKGBUILD | 120 ++++++++++++++++++++++++-------------------------------------
1 file changed, 48 insertions(+), 72 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-12-15 09:07:42 UTC (rev 199468)
+++ PKGBUILD 2016-12-15 09:08:01 UTC (rev 199469)
@@ -1,72 +0,0 @@
-# Contributor: dickeny at gmail.com
-# Maintainer: cuihao <cuihao dot leo at gmail dot com>
-
-pkgbase=man-pages-zh
-pkgname=(man-pages-zh_cn man-pages-zh_tw)
-_pkgname=manpages-zh
-pkgver=1.5.2
-pkgrel=3
-arch=('any')
-url=('https://github.com/lidaobing/manpages-zh')
-license=('GPL2')
-makedepends=("zh-autoconvert")
-depends=('man-db')
-conflicts=('man-pages-zh', 'manpages-zh')
-source=("https://github.com/downloads/lidaobing/${_pkgname}/${_pkgname}-${pkgver}.tar.bz2")
-md5sums=('cab232c7bb49b214c2f7ee44f7f35900')
-
-build() {
- cd "${srcdir}/${_pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
-}
-
-package_man-pages-zh_cn() {
- pkgdesc='Simplified Chinese Linux man pages'
-
- cd "${srcdir}/${_pkgname}-${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/chfn* \
- ./man1/chsh* \
- ./man1/groups* \
- ./man1/newgrp* \
- ./man5/passwd* \
- ./man8/chpasswd* \
- ./man8/groupadd* \
- ./man8/groupdel* \
- ./man8/groupmod* \
- ./man8/useradd* \
- ./man8/userdel* \
- ./man8/usermod*
-}
-
-package_man-pages-zh_tw() {
- pkgdesc='Traditional Chinese Linux man pages'
-
- cd "${srcdir}/${_pkgname}-${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/chfn* \
- ./man1/chsh* \
- ./man1/groups* \
- ./man1/newgrp* \
- ./man5/passwd* \
- ./man8/chpasswd* \
- ./man8/groupadd* \
- ./man8/groupdel* \
- ./man8/groupmod* \
- ./man8/useradd* \
- ./man8/userdel* \
- ./man8/usermod*
-}
Copied: man-pages-zh/repos/community-any/PKGBUILD (from rev 199468, man-pages-zh/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-12-15 09:08:01 UTC (rev 199469)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: dickeny at 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.5.4.1
+pkgrel=1
+arch=('any')
+url='https://github.com/man-pages-zh/manpages-zh'
+license=('GPL2')
+depends=('man-db')
+makedepends=('zh-autoconvert' '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*
+}
More information about the arch-commits
mailing list