[arch-commits] Commit in libedit/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Gaëtan Bisson
bisson at archlinux.org
Tue Oct 29 20:02:53 UTC 2019
Date: Tuesday, October 29, 2019 @ 20:02:53
Author: bisson
Revision: 366019
archrelease: copy trunk to testing-x86_64
Added:
libedit/repos/testing-x86_64/
libedit/repos/testing-x86_64/PKGBUILD
(from rev 366018, libedit/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: libedit/repos/testing-x86_64/PKGBUILD (from rev 366018, libedit/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2019-10-29 20:02:53 UTC (rev 366019)
@@ -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=20191025-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=("https://thrysoee.dk/editline/libedit-${_pkgver}.tar.gz")
+sha256sums=('6dff036660d478bfaa14e407fc5de26d22da1087118c897b1a3ad2e90cb7bf39')
+
+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