aboutsummaryrefslogtreecommitdiff
path: root/editline/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'editline/PKGBUILD')
-rw-r--r--editline/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/editline/PKGBUILD b/editline/PKGBUILD
new file mode 100644
index 0000000..4c6086a
--- /dev/null
+++ b/editline/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}