PKGBUILDs/extra/libedit/PKGBUILD

23 lines
764 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# 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
}