[arch-commits] Commit in libedit/trunk (PKGBUILD)
Gaetan Bisson
bisson at archlinux.org
Mon Feb 7 23:03:20 UTC 2011
Date: Monday, February 7, 2011 @ 18:03:20
Author: bisson
Revision: 109313
upstream update, includes utf8-support
Modified:
libedit/trunk/PKGBUILD
----------+
PKGBUILD | 26 +++++++++++++++-----------
1 file changed, 15 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-02-07 20:33:57 UTC (rev 109312)
+++ PKGBUILD 2011-02-07 23:03:20 UTC (rev 109313)
@@ -1,25 +1,29 @@
# $Id$
# Maintainer: Vesa Kaihlavirta <vesa at archlinux.org>
# Contributor: Roman Cheplyaka <roma at ro-che.info>
+
pkgname=libedit
-pkgver=20090923_3.0
+pkgver=20100424_3.0
pkgrel=1
-pkgdesc="Berkeley-style licensed command line editor library"
+pkgdesc='Command line editor library providing generic line editing, history, and tokenization functions'
arch=('i686' 'x86_64')
-url="http://www.thrysoee.dk/editline/"
+url='http://www.thrysoee.dk/editline/'
license=('BSD')
depends=('ncurses')
source=("http://www.thrysoee.dk/editline/libedit-${pkgver/_/-}.tar.gz")
-md5sums=('1e6dad38e8499d71b9c78045e5536734')
-options=(!libtool)
+sha1sums=('bbc9b77daf95c2482bf406e07d69cdbe0fa29db7')
+options=('!libtool')
build() {
- cd ${srcdir}/$pkgname-${pkgver/_/-}
+ cd "${srcdir}/$pkgname-${pkgver/_/-}"
+ ./configure --prefix=/usr --enable-widec
+ make
+}
- ./configure --prefix=/usr
- make || return 1
- make prefix=$pkgdir/usr install || return 1
+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 || return 1
- install -D -m0644 COPYING $pkgdir/usr/share/licenses/libedit/LICENSE || return 1
+ 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
}
More information about the arch-commits
mailing list