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

Levente Polyak anthraxx at archlinux.org
Sun Mar 14 15:32:57 UTC 2021


    Date: Sunday, March 14, 2021 @ 15:32:56
  Author: anthraxx
Revision: 409874

archrelease: copy trunk to testing-x86_64

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

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

Copied: libedit/repos/testing-x86_64/PKGBUILD (from rev 409873, libedit/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2021-03-14 15:32:56 UTC (rev 409874)
@@ -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=20210216-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=('2283f741d2aab935c8c52c04b57bf952d02c2c02e651172f8ac811f77b1fc77a')
+b2sums=('4b29f08ddccd77148c7ae810c3c4e378f6eab4b6d2c530f21aa9c0da1bc156d646bac6404408510639c34298ef3583fd7f2bde5051c0dac8b3a125e2659d8412')
+
+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