mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
31 lines
977 B
Bash
31 lines
977 B
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
|
|
pkgname=man-pages-ru
|
|
pkgver=0.98
|
|
pkgrel=4
|
|
pkgdesc="Russian Linux man pages"
|
|
arch=(i686 x86_64)
|
|
url="http://alexm.here.ru/manpages-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)
|
|
install=man-pages-ru.install
|
|
md5sums=('2d452b93a2731eac8bb1767f61ff7557')
|
|
|
|
build() {
|
|
cd $startdir/src/manpages-ru-$pkgver
|
|
|
|
mkdir -p $startdir/pkg/usr/share/man/ru && \
|
|
mv man* $startdir/pkg/usr/share/man/ru/ || return 1
|
|
|
|
cd $startdir/pkg/usr/share/man/ru || return 1
|
|
|
|
# this is included in shadow
|
|
rm -f man5/passwd.5* || return 1
|
|
|
|
# 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"
|
|
}
|