updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / libtecla / PKGBUILD
blob6777f089b435df6db227071f641da34864adffcf
1 # Contributor: Peter Simons <simons@cryp.to>
2 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de
4 pkgname=libtecla
5 pkgver=1.6.1
6 pkgrel=2
7 pkgdesc="Interactive command line editing facilities."
8 arch=('i686' 'x86_64')
9 url='http://www.astro.caltech.edu/~mcs/tecla/'
10 license=('custom:X11')
11 depends=('ncurses')
12 options=(!makeflags)
13 source=("${url}$pkgname-$pkgver.tar.gz")
14 md5sums=('1892c8db9fecd38ed686b3ccf72a569b')
16 build() {
17   cd "$srcdir/$pkgname"
18   ./configure --prefix=/usr
19   make 
21 package() {
22   cd "$srcdir/$pkgname"
23   make prefix="$pkgdir/usr" MANDIR="$pkgdir/usr/share/man" install
24   install -d "$pkgdir/usr/share/licenses/$pkgname"
25   install -m 444 LICENSE.TERMS "$pkgdir/usr/share/licenses/$pkgname"