updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / sicp-info / PKGBUILD
blob5c5dd8f2fb21437cd29e77176242e4c4d2c51bfa
1 # Contributor: Soehartono Hadibowo <matahari AT archlinux DOT us>
2 pkgname=sicp-info
3 pkgver=2.neilvandyke4
4 pkgrel=2
5 pkgdesc="MIT SICP in Texinfo"
6 arch=(any)
7 url="http://www.neilvandyke.org/sicp-texi/"
8 license=('custom')
9 depends=('texinfo')
10 makedepends=('texinfo')
11 options=(docs)
12 install=sicp-info.install
13 source=(http://www.neilvandyke.org/sicp-texi/sicp.texi.gz)
14 md5sums=('57105e0883446d0da50f5419c3ca6383') 
16 build() {
17   cp $startdir/legalcode.txt $srcdir
18   cd "$srcdir"
20   makeinfo --no-split sicp.texi -o sicp.info
21   gzip -9nf sicp.info
23   mkdir -p $pkgdir/usr/share/info
24   install -D -m644 sicp.info.gz $pkgdir/usr/share/info
26   mkdir -p $pkgdir/usr/share/licenses/$pkgname
27   install -D -m644 legalcode.txt $pkgdir/usr/share/licenses/$pkgname
30 # vim:set ts=2 sw=2 et: