updated on Thu Jan 12 20:00:29 UTC 2012
[aur-mirror.git] / lithp_c / PKGBUILD
blob9373d074c65c8ccd1c23cd73cf8f321afc616e63
1 # $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $
2 # Maintainer:  perlawk
3 pkgname=lithp_c  
4 pkgver=0.6
5 pkgrel=2 
6 pkgdesc="A portable lisp, C src code is extracted from the noweb files"
7 url="http://www.umlautllama.com/projects/lithp"
8 arch=(`arch`)
9 license=('LGPL')
10 depends=()
11 makedepends=()
12 conflicts=()
13 replaces=()
14 backup=()
15 install=
16 source=(lithp.sh)
17 md5sums=('a6a609cf320f36f4b56b6f6e2cd11e8c')
18 build() {
19   cd $startdir/src/
20   sh lithp.sh
21   cd $startdir/src/c/c_src
22   make || return 1
23   install -Dm755 lithp $pkgdir/usr/bin/lithp
24   mkdir -p $pkgdir/usr/share/lithp/
25   cd ../
26   cp -a samples doc $pkgdir/usr/share/lithp/
27   cd doc
28   cp LICENSE README $pkgdir/usr/share/lithp/