diff options
-rw-r--r-- | abs/core/libedit/PKGBUILD | 21 |
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 } |