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

Levente Polyak anthraxx at archlinux.org
Mon Jun 7 18:49:59 UTC 2021


    Date: Monday, June 7, 2021 @ 18:49:59
  Author: anthraxx
Revision: 417320

archrelease: copy trunk to extra-x86_64

Added:
  libedit/repos/extra-x86_64/
  libedit/repos/extra-x86_64/PKGBUILD
    (from rev 417319, libedit/trunk/PKGBUILD)

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

Copied: libedit/repos/extra-x86_64/PKGBUILD (from rev 417319, libedit/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2021-06-07 18:49:59 UTC (rev 417320)
@@ -0,0 +1,37 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Vesa Kaihlavirta <vesa at archlinux.org>
+# Contributor: Roman Cheplyaka <roma at ro-che.info>
+
+pkgname=libedit
+_pkgver=20210522-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=('glibc' 'ncurses' 'libncursesw.so')
+provides=('libedit.so')
+source=(${url}/${pkgname}-${_pkgver}.tar.gz)
+sha256sums=('0220bc2047e927c0c1984ef5f7b4eb2a9469a5b7bf12ba573ca3b23ca02bbb6f')
+b2sums=('cb950767bf9c547d80e3ff364528cdc2599a60d2d8e42e5d2b58f65cce1e2223d0ea7d255269ec9e2fd9c04a07d8677b64658b73ad00f4105fa581c11b013d21')
+
+build() {
+  cd ${pkgname}-${_pkgver}
+  ./configure --prefix=/usr
+  make V=1
+}
+
+package() {
+  cd ${pkgname}-${_pkgver}
+  make DESTDIR="${pkgdir}" install
+
+  rm "${pkgdir}"/usr/share/man/man3/history.3 # conflicts with readline
+  install -Dm 644 "${pkgdir}"/usr/share/man/man3/editline.3 "${pkgdir}"/usr/share/man/man3/el.3
+
+  install -Dm 644 ChangeLog -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list