summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartłomiej Piotrowski2018-01-05 17:05:12 +0100
committerBartłomiej Piotrowski2018-01-05 17:05:12 +0100
commitc4ae92ce2b46232029291d986d392403776560bd (patch)
tree036d02e390b7885abfba05d85d9e6e7c7f7cea8b
downloadaur-c4ae92ce2b46232029291d986d392403776560bd.tar.gz
Import from official repositories
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD26
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..df3aa4fd067
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = man-pages-ru
+ pkgdesc = Russian Linux man pages
+ pkgver = 4.08_2329_2272_20170321
+ pkgrel = 2
+ url = https://sourceforge.net/projects/man-pages-ru/
+ arch = any
+ license = FDL
+ depends = man
+ source = http://downloads.sourceforge.net/project/man-pages-ru/man-pages-ru_4.08-2329-2272-20170321.tar.bz2
+ sha256sums = a42030939e94b4b52d96259ec541188a9baac179f8859998cc3fbeb8314fb539
+
+pkgname = man-pages-ru
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c9e83f8a2fc
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 225694 2017-04-26 16:24:43Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
+
+pkgname=man-pages-ru
+pkgver=4.08_2329_2272_20170321
+pkgrel=2
+pkgdesc="Russian Linux man pages"
+arch=(any)
+url="https://sourceforge.net/projects/man-pages-ru/"
+depends=(man)
+license=('FDL')
+source=(http://downloads.sourceforge.net/project/man-pages-ru/man-pages-ru_${pkgver//_/-}.tar.bz2)
+sha256sums=('a42030939e94b4b52d96259ec541188a9baac179f8859998cc3fbeb8314fb539')
+
+package() {
+ 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*
+ rm -f man3/getspnam.3*
+ find . -type d -exec chmod 0755 {} \;
+ find . -type f -exec chmod 0644 {} \;
+}