[arch-commits] Commit in libedit/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Sun Aug 30 11:02:23 UTC 2020


    Date: Sunday, August 30, 2020 @ 11:02:23
  Author: foutrelis
Revision: 394972

archrelease: copy trunk to testing-x86_64

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

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: libedit/repos/testing-x86_64/PKGBUILD (from rev 394971, libedit/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2020-08-30 11:02:23 UTC (rev 394972)
@@ -0,0 +1,30 @@
+# 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=20191231-3.1
+pkgver=${_pkgver/-/_}
+pkgrel=2
+pkgdesc='Command line editor library providing generic line editing, history, and tokenization functions'
+url='https://thrysoee.dk/editline/'
+arch=('x86_64')
+license=('BSD')
+depends=('ncurses')
+source=("https://thrysoee.dk/editline/libedit-${_pkgver}.tar.gz")
+sha256sums=('dbb82cb7e116a5f8025d35ef5b4f7d4a3cdd0a3909a146a39112095a2d229071')
+
+build() {
+	cd "${srcdir}/${pkgname}-${_pkgver}"
+	./configure --prefix=/usr
+	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