Created
May 27, 2011 12:23
-
-
Save anonymous/995139 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# $Id: PKGBUILD 82186 2010-06-09 09:01:12Z jgc $ | |
# Contributor: Leonid Isaev <lisaev@indiana.edu> | |
pkgname=lapack-manpages | |
pkgver=3.2.0 | |
pkgrel=1 | |
url="http://www.netlib.org/lapack/" | |
pkgdesc="LAPACK and BLAS manual pages" | |
arch=('any') | |
provides=('lapack-manpages') | |
makedepends=('gzip') | |
depends=('man-db') | |
license=('custom') | |
source=(http://www.netlib.org/lapack/manpages.tgz) | |
md5sums=('0f88dbcf41bb53ef98890ee834da913e') | |
build() { | |
# We don't have manl, so let's install into man3, according to FHS | |
man_dir="${srcdir}/manpages" | |
install -m755 -d "${pkgdir}/usr/share/man/man7" | |
echo "Installing LAPACK manpages" | |
cd "${man_dir}/man/manl" | |
gzip -9 *.l | |
for i in $(ls *.l.gz) | |
do | |
j=$(echo $i | sed 's/\.l/\.7/') | |
install -m644 $i "${pkgdir}/usr/share/man/man7/$j" | |
done | |
echo "Installing BLAS manpages" | |
cd "${man_dir}/blas/man/manl" | |
gzip -9 *.l | |
for i in $(ls *.l.gz) | |
do | |
j=$(echo $i | sed 's/\.l/\.7/') | |
install -m644 $i "${pkgdir}/usr/share/man/man7/$j" | |
done | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment