[arch-commits] Commit in editline/repos (3 files)

George Rawlinson grawlinson at archlinux.org
Wed Jun 30 23:36:16 UTC 2021


    Date: Wednesday, June 30, 2021 @ 23:36:15
  Author: grawlinson
Revision: 968056

archrelease: copy trunk to community-x86_64

Added:
  editline/repos/community-x86_64/
  editline/repos/community-x86_64/PKGBUILD
    (from rev 968055, editline/trunk/PKGBUILD)
  editline/repos/community-x86_64/editline.install
    (from rev 968055, editline/trunk/editline.install)

------------------+
 PKGBUILD         |   34 ++++++++++++++++++++++++++++++++++
 editline.install |    8 ++++++++
 2 files changed, 42 insertions(+)

Copied: editline/repos/community-x86_64/PKGBUILD (from rev 968055, editline/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2021-06-30 23:36:15 UTC (rev 968056)
@@ -0,0 +1,34 @@
+# Maintainer: George Rawlinson <george at rawlinson.net.nz>
+# Contributor: Immae <ismael.bouya at normalesup.org>
+
+pkgname=editline
+pkgver=1.17.1
+pkgrel=2
+pkgdesc='A readline() replacement for UNIX without termcap (ncurses)'
+arch=('x86_64')
+url='http://troglobit.com/editline.html'
+license=('BSD')
+install="$pkgname.install"
+source=("$pkgname-$pkgver.tar.gz::https://github.com/troglobit/$pkgname/archive/$pkgver.tar.gz")
+sha512sums=('6fd8951a490e0a3f30bb20d775036f622e583042d6dc315d657bb9fdad76b3f4e219290f24ab497209d6143a56dd1d227152ba0c40e7912b8a443ab50f9b05dd')
+
+build () {
+  cd "$pkgname-$pkgver"
+  ./autogen.sh
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+  
+  # avoid libedit conflict
+  mv "$pkgdir"/usr/share/man/man3/editline{,-troglobit}.3
+
+  # license
+  install -Dm0644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+
+  # additional documentation
+  cp -vrt "$pkgdir/usr/share/doc/$pkgname" docs
+}

Copied: editline/repos/community-x86_64/editline.install (from rev 968055, editline/trunk/editline.install)
===================================================================
--- community-x86_64/editline.install	                        (rev 0)
+++ community-x86_64/editline.install	2021-06-30 23:36:15 UTC (rev 968056)
@@ -0,0 +1,8 @@
+post_install() {
+	cat <<EOF
+
+The man page has been renamed to editline-troglobit
+to avoid conflicting with libedit's man page.
+
+EOF
+}




More information about the arch-commits mailing list