1 # Contributor: Roman Abreu <romanlx.gmail.com>
6 pkgdesc="Spanish linux man pages"
8 url="http://ditec.um.es/~piernas/manpages-es/"
11 source=(http://ditec.um.es/~piernas/manpages-es/${pkgname}-${pkgver}.tar.bz2
12 http://ditec.um.es/~piernas/manpages-es/${pkgname}-extra-${_xpkgver}.tar.gz)
13 md5sums=('b71f701dcae827f2f5e4e848c66321fc' '5827f41f77658df17f550b7f8e831432')
15 cd $startdir/src/${pkgname}-${pkgver}
17 # Remove already included man pages
20 sed -e's&usr/share/man&usr/man&' Makefile > Maketemp
22 make prefix=$startdir/pkg/
24 cd $startdir/src/${pkgname}-extra-${_xpkgver}
26 # Remove already included man pages
27 rm man1/login.1 man1/mc.1 man1/newgrp.1 man1/passwd.1 man1/su.1 man8/vigr.8 man8/vipw.8
29 sed -e 's&/usr/man/es&$(prefix)/usr/man/es&' Makefile > Maketemp
31 make prefix=$startdir/pkg/
32 # Remove already included man pages