summaryrefslogtreecommitdiff
path: root/core/libedit
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /core/libedit
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'core/libedit')
-rw-r--r--core/libedit/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/core/libedit/PKGBUILD b/core/libedit/PKGBUILD
new file mode 100644
index 000000000..fb9152883
--- /dev/null
+++ b/core/libedit/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 112952 2011-03-07 23:45:40Z bisson $
+# Maintainer: Vesa Kaihlavirta <vesa@archlinux.org>
+# Contributor: Roman Cheplyaka <roma@ro-che.info>
+
+pkgname=libedit
+pkgver=20110227_3.0
+pkgrel=1
+pkgdesc='Command line editor library providing generic line editing, history, and tokenization functions'
+arch=('i686' 'x86_64')
+url='http://www.thrysoee.dk/editline/'
+license=('BSD')
+depends=('ncurses')
+source=("http://www.thrysoee.dk/editline/libedit-${pkgver/_/-}.tar.gz")
+sha1sums=('afe84b9e16fc903d5a3eceda90013d7ad03db794')
+options=('!libtool')
+
+build() {
+ cd "${srcdir}/$pkgname-${pkgver/_/-}"
+ ./configure --prefix=/usr --enable-widec --enable-static=no
+ make
+}
+
+package() {
+ cd "${srcdir}/$pkgname-${pkgver/_/-}"
+ make prefix="$pkgdir"/usr install
+
+ cp "$pkgdir"/usr/share/man/man3/editline.3 "$pkgdir"/usr/share/man/man3/el.3
+ install -D -m0644 COPYING "$pkgdir"/usr/share/licenses/libedit/LICENSE
+}