From 5881de1c8bbe28aef2b9a5abdac4ae29fa5c456b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Thu, 14 Feb 2019 12:29:48 +0100 Subject: Initial commit --- .SRCINFO | 14 ++++++++++++++ PKGBUILD | 26 ++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..74852e6 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +# Generated by mksrcinfo v8 +# Thu Feb 14 11:29:40 UTC 2019 +pkgbase = editline + pkgdesc = A readline() replacement for UNIX without termcap (ncurses) + pkgver = 1.15.3 + pkgrel = 1 + url = http://troglobit.com/editline.html + arch = x86_64 + license = BSD + source = ftp://ftp.troglobit.com/editline/editline-1.15.3.tar.xz + sha512sums = 7566ba1616ec729fe6f60571b3ca3eef83fc9f12f530e8351976d16627ecc7fce81b7d620218ffa8a853d95fbbb397477e59dbc2dd113505ce27f790df2a7a38 + +pkgname = editline + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..4c6086a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer : Immae + +pkgname=editline +pkgver=1.15.3 +pkgrel=1 +pkgdesc="A readline() replacement for UNIX without termcap (ncurses)" +arch=('x86_64') +url="http://troglobit.com/editline.html" +license=('BSD') +source=("ftp://ftp.troglobit.com/editline/${pkgname}-${pkgver}.tar.xz") +sha512sums=('7566ba1616ec729fe6f60571b3ca3eef83fc9f12f530e8351976d16627ecc7fce81b7d620218ffa8a853d95fbbb397477e59dbc2dd113505ce27f790df2a7a38') + + +build () { + cd "$pkgname-$pkgver" + ./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 +} -- cgit v1.2.3