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

Gaëtan Bisson bisson at archlinux.org
Sun May 5 17:00:45 UTC 2019


    Date: Sunday, May 5, 2019 @ 17:00:44
  Author: bisson
Revision: 352529

archrelease: copy trunk to testing-x86_64

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

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

Copied: libedit/repos/testing-x86_64/PKGBUILD (from rev 352528, libedit/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2019-05-05 17:00:44 UTC (rev 352529)
@@ -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=20190324-3.1
+pkgver=${_pkgver/-/_}
+pkgrel=1
+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=("http://thrysoee.dk/editline/libedit-${_pkgver}.tar.gz")
+sha256sums=('ac8f0f51c1cf65492e4d1e3ed2be360bda41e54633444666422fbf393bba1bae')
+
+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