summaryrefslogtreecommitdiff
path: root/testing/libedit
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-07-24 23:18:01 +0000
committerroot <root@rshg047.dnsready.net>2011-07-24 23:18:01 +0000
commit43983783a3e8bf61896eb93a2858a14bbaf3a53b (patch)
treec3085b8900db730e945868819ed112708a661653 /testing/libedit
parent0e8166d926f929f470d01d5bc8c8823e094742da (diff)
Sun Jul 24 23:18:00 UTC 2011
Diffstat (limited to 'testing/libedit')
-rw-r--r--testing/libedit/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/libedit/PKGBUILD b/testing/libedit/PKGBUILD
new file mode 100644
index 000000000..1d7c56fb8
--- /dev/null
+++ b/testing/libedit/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 132376 2011-07-23 23:23:53Z bisson $
+# Maintainer: Gaetan Bisson <bisson@archlinux.org>
+# Maintainer: Vesa Kaihlavirta <vesa@archlinux.org>
+# Contributor: Roman Cheplyaka <roma@ro-che.info>
+
+pkgname=libedit
+pkgver=20110709_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')
+options=('!libtool')
+source=("http://www.thrysoee.dk/editline/libedit-${pkgver/_/-}.tar.gz")
+sha1sums=('63a62e0c52a0a2b3c933f400039e24724498cfb4')
+
+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
+}