[arch-commits] Commit in man-pages-ru/trunk (PKGBUILD man-pages-ru.install)

Sergej Pupykin spupykin at archlinux.org
Wed May 4 11:00:51 UTC 2016


    Date: Wednesday, May 4, 2016 @ 13:00:51
  Author: spupykin
Revision: 173704

upgpkg: man-pages-ru 4.05_2306_2171_20160416-1

upd

Modified:
  man-pages-ru/trunk/PKGBUILD
Deleted:
  man-pages-ru/trunk/man-pages-ru.install

----------------------+
 PKGBUILD             |   19 +++++++------------
 man-pages-ru.install |   14 --------------
 2 files changed, 7 insertions(+), 26 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-05-04 11:00:39 UTC (rev 173703)
+++ PKGBUILD	2016-05-04 11:00:51 UTC (rev 173704)
@@ -3,27 +3,22 @@
 # Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
 
 pkgname=man-pages-ru
-pkgver=0.98
-pkgrel=7
+pkgver=4.05_2306_2171_20160416
+pkgrel=1
 pkgdesc="Russian Linux man pages"
 arch=(any)
-#url="http://alexm.here.ru/manpages-ru/"
-url="http://www.linuxshare.ru/projects/trans/downloads.html"
+url="https://sourceforge.net/projects/man-pages-ru/"
 depends=(man)
 license=('FDL')
-#source=(http://alexm.here.ru/manpages-ru/download/manpages-ru-$pkgver.tar.gz)
-#source=(ftp://ftp.win.tue.nl/pub/linux-local/manpages/translations/man-pages-ru-$pkgver.tar.bz2)
-source=(http://www.linuxshare.ru/projects/trans/manpages-ru-$pkgver.tar.bz2)
-install=man-pages-ru.install
-md5sums=('2d452b93a2731eac8bb1767f61ff7557')
+source=(http://downloads.sourceforge.net/project/man-pages-ru/man-pages-ru_${pkgver//_/-}.tar.bz2)
+md5sums=('eb1176091030a8b04394addb9d6cf875')
 
 package() {
-  cd $srcdir/manpages-ru-$pkgver
+  cd $srcdir/man-pages-ru_${pkgver//_/-}
   mkdir -p $pkgdir/usr/share/man/ru
   mv man* $pkgdir/usr/share/man/ru/
   cd $pkgdir/usr/share/man/ru
   # this is included in shadow
   rm -f man5/passwd.5*
-  # convert to utf8
-  find -type f | xargs -i123 -- sh -c "mv 123 123.old && iconv -f koi8-r -t utf8 123.old >123 && rm 123.old"
+  rm -f man3/getspnam.3*
 }

Deleted: man-pages-ru.install
===================================================================
--- man-pages-ru.install	2016-05-04 11:00:39 UTC (rev 173703)
+++ man-pages-ru.install	2016-05-04 11:00:51 UTC (rev 173704)
@@ -1,14 +0,0 @@
-pre_install() {
-  pre_upgrade
-}
-
-pre_upgrade() {
-  echo "-- Change /etc/man.conf"
-  echo "-- NROFF iconv -f utf8 -t koi8r | /usr/bin/nroff -Tlatin1 -mandoc -c | iconv -f koi8r -t utf8"
-  echo "-- and"
-  echo "-- export LESSCHARSET=UTF-8"
-}
-
-post_upgrade() {
-  echo "-- Since 0.98-3 version manpages use UTF-8!"
-}



More information about the arch-commits mailing list