git subrepo clone --branch=master https://aur.archlinux.org/editline

subrepo:
  subdir:   "editline"
  merged:   "17f3447"
upstream:
  origin:   "https://aur.archlinux.org/editline"
  branch:   "master"
  commit:   "17f3447"
git-subrepo:
  version:  "0.4.3"
  origin:   "???"
  commit:   "???"
This commit is contained in:
Gabriel Ebner 2021-03-06 10:08:36 +01:00
parent 5d7de9f4c0
commit 53649416f8
3 changed files with 54 additions and 0 deletions

12
editline/.SRCINFO Normal file
View File

@ -0,0 +1,12 @@
pkgbase = editline
pkgdesc = A readline() replacement for UNIX without termcap (ncurses)
pkgver = 1.17.1
pkgrel = 1
url = http://troglobit.com/editline.html
arch = x86_64
license = BSD
source = https://github.com/troglobit/editline/archive/1.17.1.tar.gz
sha512sums = 6fd8951a490e0a3f30bb20d775036f622e583042d6dc315d657bb9fdad76b3f4e219290f24ab497209d6143a56dd1d227152ba0c40e7912b8a443ab50f9b05dd
pkgname = editline

12
editline/.gitrepo Normal file
View File

@ -0,0 +1,12 @@
; DO NOT EDIT (unless you know what you are doing)
;
; This subdirectory is a git "subrepo", and this file is maintained by the
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
;
[subrepo]
remote = https://aur.archlinux.org/editline
branch = master
commit = 17f3447c4314ea976ff5cbaf2c0fd4cd42063bed
parent = 5d7de9f4c0a30f894dc8b15a1fa242806ef3314f
method = merge
cmdver = 0.4.3

30
editline/PKGBUILD Normal file
View File

@ -0,0 +1,30 @@
# Maintainer : Immae <ismael.bouya@normalesup.org>
# Contributor: George Rawlinson <george@rawlinson.net.nz>
pkgname=editline
pkgver=1.17.1
pkgrel=1
pkgdesc="A readline() replacement for UNIX without termcap (ncurses)"
arch=('x86_64')
url="http://troglobit.com/editline.html"
license=('BSD')
depends=('glibc')
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 \
--sysconfdir=/etc \
--enable-gc
make
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
mv $pkgdir/usr/share/man/man3/editline.3 $pkgdir/usr/share/man/man3/editline-troglobit.3
install -Dm0644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
}