updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / ficl / PKGBUILD
blob161c6b99deeeb2f9dc27f2a86fdd13d36ecd2684
1 # Contributor: Kyle Keen <keenerd@gmail.com>
2 pkgname=ficl
3 pkgver=4.1.0
4 pkgrel=1
5 pkgdesc="Forth Inspired Command Language"
6 arch=('i686' 'x86_64')
7 url="http://ficl.sourceforge.net"
8 license=('custom:ficl')
9 depends=()
10 optdepends=('rlwrap: for a decent repl')
11 makedepends=()
12 source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname-all/ficl4.1/$pkgname-$pkgver.tar.gz?download)
13 md5sums=('668f12c0006b2d338c3087c53311e658')
15 build() {
16   cd "$srcdir/$pkgname-$pkgver"
17   make
20 package() {
21   cd "$srcdir/$pkgname-$pkgver"
22   install -Dm755 ficl "$pkgdir/usr/bin/ficl"
23   install -Dm644 doc/license.html "$pkgdir/usr/share/licenses/ficl/LICENSE"
24   install -d doc/ "$pkgdir/usr/share/doc/ficl/"
25   install -d contrib/xclasses "$pkgdir/usr/share/doc/ficl/xclasses/"
26   cp -r doc/ "$pkgdir/usr/share/doc/ficl/"
27   cp -r contrib/xclasses "$pkgdir/usr/share/doc/ficl/xclasses/"