summaryrefslogtreecommitdiffstats
path: root/abs/core/libedit/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 14:47:35 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 14:47:35 (GMT)
commit9c43142ff680a82b363e561322499fe12e47ff4a (patch)
tree09dc192d5436a22afab9f08c5c6fbd4cd759bc5b /abs/core/libedit/PKGBUILD
parent85e6ee3b78a45a448e19de16eddc5eba40ab9886 (diff)
downloadlinhes_pkgbuild-9c43142ff680a82b363e561322499fe12e47ff4a.zip
linhes_pkgbuild-9c43142ff680a82b363e561322499fe12e47ff4a.tar.gz
linhes_pkgbuild-9c43142ff680a82b363e561322499fe12e47ff4a.tar.bz2
libedit 20120311_3
-new
Diffstat (limited to 'abs/core/libedit/PKGBUILD')
-rw-r--r--abs/core/libedit/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/abs/core/libedit/PKGBUILD b/abs/core/libedit/PKGBUILD
new file mode 100644
index 0000000..3ea5bbf
--- /dev/null
+++ b/abs/core/libedit/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 153493 2012-03-15 00:07:12Z bisson $
+# Maintainer: Gaetan Bisson <bisson@archlinux.org>
+# Maintainer: Vesa Kaihlavirta <vesa@archlinux.org>
+# Contributor: Roman Cheplyaka <roma@ro-che.info>
+
+pkgname=libedit
+pkgver=20120311_3.0
+pkgrel=1
+pkgdesc='Command line editor library providing generic line editing, history, and tokenization functions'
+url='http://www.thrysoee.dk/editline/'
+arch=('i686' 'x86_64')
+license=('BSD')
+depends=('ncurses')
+options=('!libtool')
+source=("http://www.thrysoee.dk/editline/libedit-${pkgver/_/-}.tar.gz")
+sha1sums=('2a4be10c33af5e3b09c1d3c8829b02fe5b41796b')
+
+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 -Dm644 COPYING "${pkgdir}"/usr/share/licenses/libedit/LICENSE
+}