summaryrefslogtreecommitdiffstats
path: root/abs/core/libedit/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-02-22 19:15:57 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-02-22 19:15:57 (GMT)
commit99ff29afdf93bac9d5b8f70943a6ed9ecdafc7e6 (patch)
tree0ee1a52eaf0bcda35006b098d49d05c73f0ca099 /abs/core/libedit/PKGBUILD
parent33cc623201a6f4624f3293f6faae96ec7bb562ec (diff)
downloadlinhes_pkgbuild-99ff29afdf93bac9d5b8f70943a6ed9ecdafc7e6.zip
linhes_pkgbuild-99ff29afdf93bac9d5b8f70943a6ed9ecdafc7e6.tar.gz
linhes_pkgbuild-99ff29afdf93bac9d5b8f70943a6ed9ecdafc7e6.tar.bz2
libedit: update to 20170329_3.1
Diffstat (limited to 'abs/core/libedit/PKGBUILD')
-rw-r--r--abs/core/libedit/PKGBUILD21
1 files changed, 11 insertions, 10 deletions
diff --git a/abs/core/libedit/PKGBUILD b/abs/core/libedit/PKGBUILD
index 3ea5bbf..40df793 100644
--- a/abs/core/libedit/PKGBUILD
+++ b/abs/core/libedit/PKGBUILD
@@ -1,30 +1,31 @@
-# $Id: PKGBUILD 153493 2012-03-15 00:07:12Z bisson $
+# $Id$
# 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
+_pkgver=20170329-3.1
+pkgver=${_pkgver/-/_}
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')
+url='http://thrysoee.dk/editline/'
+arch=('x86_64')
license=('BSD')
depends=('ncurses')
-options=('!libtool')
-source=("http://www.thrysoee.dk/editline/libedit-${pkgver/_/-}.tar.gz")
-sha1sums=('2a4be10c33af5e3b09c1d3c8829b02fe5b41796b')
+source=("http://thrysoee.dk/editline/libedit-${_pkgver}.tar.gz")
+sha256sums=('91f2d90fbd2a048ff6dad7131d9a39e690fd8a8fd982a353f1333dd4017dd4be')
build() {
- cd "${srcdir}/${pkgname}-${pkgver/_/-}"
- ./configure --prefix=/usr --enable-widec --enable-static=no
+ cd "${srcdir}/${pkgname}-${_pkgver}"
+ ./configure --prefix=/usr --enable-widec
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver/_/-}"
+ cd "${srcdir}/${pkgname}-${_pkgver}"
make prefix="${pkgdir}"/usr install
+ rm "${pkgdir}"/usr/share/man/man3/history.3 # conflicts with readline
cp "${pkgdir}"/usr/share/man/man3/editline.3 "${pkgdir}"/usr/share/man/man3/el.3
install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/libedit/LICENSE
}