[arch-commits] Commit in libedit/repos (4 files)

Gaëtan Bisson bisson at archlinux.org
Wed Oct 5 22:12:37 UTC 2016


    Date: Wednesday, October 5, 2016 @ 22:12:36
  Author: bisson
Revision: 277789

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  libedit/repos/testing-i686/
  libedit/repos/testing-i686/PKGBUILD
    (from rev 277788, libedit/trunk/PKGBUILD)
  libedit/repos/testing-x86_64/
  libedit/repos/testing-x86_64/PKGBUILD
    (from rev 277788, libedit/trunk/PKGBUILD)

-------------------------+
 testing-i686/PKGBUILD   |   31 +++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   31 +++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

Copied: libedit/repos/testing-i686/PKGBUILD (from rev 277788, libedit/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2016-10-05 22:12:36 UTC (rev 277789)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Maintainer: Vesa Kaihlavirta <vesa at archlinux.org>
+# Contributor: Roman Cheplyaka <roma at ro-che.info>
+
+pkgname=libedit
+_pkgver=20160903-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')
+license=('BSD')
+depends=('ncurses')
+source=("http://www.thrysoee.dk/editline/libedit-${_pkgver}.tar.gz")
+sha1sums=('55e327ee4661b13d20ebb411d790f2bb258271cf')
+
+build() {
+	cd "${srcdir}/${pkgname}-${_pkgver}"
+	./configure --prefix=/usr --enable-widec
+	make
+}
+
+package() {
+	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
+}

Copied: libedit/repos/testing-x86_64/PKGBUILD (from rev 277788, libedit/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2016-10-05 22:12:36 UTC (rev 277789)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Maintainer: Vesa Kaihlavirta <vesa at archlinux.org>
+# Contributor: Roman Cheplyaka <roma at ro-che.info>
+
+pkgname=libedit
+_pkgver=20160903-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')
+license=('BSD')
+depends=('ncurses')
+source=("http://www.thrysoee.dk/editline/libedit-${_pkgver}.tar.gz")
+sha1sums=('55e327ee4661b13d20ebb411d790f2bb258271cf')
+
+build() {
+	cd "${srcdir}/${pkgname}-${_pkgver}"
+	./configure --prefix=/usr --enable-widec
+	make
+}
+
+package() {
+	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
+}



More information about the arch-commits mailing list