PKGBUILDs/extra/libedit/PKGBUILD
2009-10-09 21:23:22 -05:00

22 lines
764 B
Bash

# Maintainer: Vesa Kaihlavirta <vesa@archlinux.org>
# Contributor: Roman Cheplyaka <roma@ro-che.info>
pkgname=libedit
pkgver=20080712_2.11
pkgrel=3
pkgdesc="Berkeley-style licensed command line editor library"
arch=(i686 x86_64)
url="http://www.thrysoee.dk/editline/"
license=('BSD')
source=("http://www.thrysoee.dk/editline/libedit-${pkgver/_/-}.tar.gz")
options=(!libtool)
md5sums=('140c56efbc68d7255b7045eb604e8a45')
build() {
cd $startdir/src/$pkgname-${pkgver/_/-}
./configure --prefix=/usr
make || return 1
make prefix=$startdir/pkg/usr install || return 1
cp $startdir/pkg/usr/share/man/man3/editline.3 $startdir/pkg/usr/share/man/man3/el.3 || return 1
install -D -m0644 COPYING $startdir/pkg/usr/share/licenses/libedit/COPYING || return 1
}