Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / 
man-pages-zh


Commits:
a98e84cb by Felix Yan at 2024-12-20T10:09:14+08:00
upgpkg: 1.6.4.0-3: remove conflicted files in procps-ng

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
-pkgbase = man-pages-zh_cn
+pkgbase = man-pages-zh
        pkgver = 1.6.4.0
-       pkgrel = 2
+       pkgrel = 3
        url = https://github.com/man-pages-zh/manpages-zh
        arch = any
        license = custom:GFDL1.2
@@ -8,8 +8,8 @@ pkgbase = man-pages-zh_cn
        makedepends = python
        makedepends = git
        depends = man
-       source = 
git+https://github.com/man-pages-zh/manpages-zh.git#commit=f1170c10185d1be9d42146e9779249bde89b2b08
-       sha512sums = SKIP
+       source = 
git+https://github.com/man-pages-zh/manpages-zh.git#tag=v1.6.4.0
+       sha512sums = 
cd08c39743b62e6c0c32dad7f1e596e3c8047bc3706ab533addcc3d9789f01a447d05384ec22c182b3a4357f8d43cae731ccb9e19a6d74dd3294c98074ccf430
 
 pkgname = man-pages-zh_cn
        pkgdesc = Simplified Chinese Linux man pages


=====================================
PKGBUILD
=====================================
@@ -5,15 +5,14 @@
 pkgbase=man-pages-zh
 pkgname=(man-pages-zh_cn man-pages-zh_tw)
 pkgver=1.6.4.0
-_commit=f1170c10185d1be9d42146e9779249bde89b2b08
-pkgrel=2
+pkgrel=3
 arch=('any')
 url='https://github.com/man-pages-zh/manpages-zh'
 license=('custom:GFDL1.2')
 depends=('man')
 makedepends=('opencc' 'python' 'git')
-source=("git+https://github.com/man-pages-zh/manpages-zh.git#commit=$_commit";)
-sha512sums=('SKIP')
+source=("git+https://github.com/man-pages-zh/manpages-zh.git#tag=v$pkgver";)
+sha512sums=('cd08c39743b62e6c0c32dad7f1e596e3c8047bc3706ab533addcc3d9789f01a447d05384ec22c182b3a4357f8d43cae731ccb9e19a6d74dd3294c98074ccf430')
 
 build() {
   cd manpages-zh
@@ -34,9 +33,9 @@ package_man-pages-zh_cn() {
 
   rm -r "$pkgdir"/usr/share/man/zh_TW
 
-  # remove conflicted files with shadow
+  # remove conflicted files
   cd "$pkgdir"/usr/share/man/zh_CN
-  rm ./man1/groups*
+  rm ./man1/groups.1 ./man1/free.1 ./man8/vmstat.8
 }
 
 package_man-pages-zh_tw() {
@@ -50,8 +49,4 @@ package_man-pages-zh_tw() {
   rmdir "$pkgdir"/usr/share/doc/manpages-zh "$pkgdir"/usr/share/doc
 
   rm -r "$pkgdir"/usr/share/man/zh_CN
-
-  # remove conflicted files with shadow
-  cd "$pkgdir"/usr/share/man/zh_TW
-  rm ./man1/groups*
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/man-pages-zh/-/commit/a98e84cb9b8ac6d7d4b2dda056d5c8f664b4dcc2

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/man-pages-zh/-/commit/a98e84cb9b8ac6d7d4b2dda056d5c8f664b4dcc2
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to