diff options
author | root <root@rshg054.dnsready.net> | 2011-08-13 23:14:28 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-08-13 23:14:28 +0000 |
commit | 76c08dc0eadb92247b4978f3185ee4176603b7af (patch) | |
tree | c5a4ca714e8218033beb8e37f6ea0d1cba1b4eed /testing/libedit/PKGBUILD | |
parent | 3b2bf66355e8254bc2f033dab2dfea9e2978fa4d (diff) |
Sat Aug 13 23:14:28 UTC 2011
Diffstat (limited to 'testing/libedit/PKGBUILD')
-rw-r--r-- | testing/libedit/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/libedit/PKGBUILD b/testing/libedit/PKGBUILD new file mode 100644 index 000000000..781325d1b --- /dev/null +++ b/testing/libedit/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 135318 2011-08-12 19:30:04Z bisson $ +# Maintainer: Gaetan Bisson <bisson@archlinux.org> +# Maintainer: Vesa Kaihlavirta <vesa@archlinux.org> +# Contributor: Roman Cheplyaka <roma@ro-che.info> + +pkgname=libedit +pkgver=20110802_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=('b06e3cf248a4235617c71454e15ca3a54a61d467') + +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 +} |