aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD26
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 0000000..74852e6
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
1# Generated by mksrcinfo v8
2# Thu Feb 14 11:29:40 UTC 2019
3pkgbase = editline
4 pkgdesc = A readline() replacement for UNIX without termcap (ncurses)
5 pkgver = 1.15.3
6 pkgrel = 1
7 url = http://troglobit.com/editline.html
8 arch = x86_64
9 license = BSD
10 source = ftp://ftp.troglobit.com/editline/editline-1.15.3.tar.xz
11 sha512sums = 7566ba1616ec729fe6f60571b3ca3eef83fc9f12f530e8351976d16627ecc7fce81b7d620218ffa8a853d95fbbb397477e59dbc2dd113505ce27f790df2a7a38
12
13pkgname = editline
14
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..4c6086a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
1# Maintainer : Immae <ismael.bouya@normalesup.org>
2
3pkgname=editline
4pkgver=1.15.3
5pkgrel=1
6pkgdesc="A readline() replacement for UNIX without termcap (ncurses)"
7arch=('x86_64')
8url="http://troglobit.com/editline.html"
9license=('BSD')
10source=("ftp://ftp.troglobit.com/editline/${pkgname}-${pkgver}.tar.xz")
11sha512sums=('7566ba1616ec729fe6f60571b3ca3eef83fc9f12f530e8351976d16627ecc7fce81b7d620218ffa8a853d95fbbb397477e59dbc2dd113505ce27f790df2a7a38')
12
13
14build () {
15 cd "$pkgname-$pkgver"
16 ./configure --prefix=/usr \
17 --sysconfdir=/etc \
18 --enable-gc
19 make
20}
21
22package() {
23 cd "$pkgname-$pkgver"
24 make DESTDIR="$pkgdir" install
25 mv $pkgdir/usr/share/man/man3/editline.3 $pkgdir/usr/share/man/man3/editline-troglobit.3
26}