diff options
Diffstat (limited to 'editline/PKGBUILD')
-rw-r--r-- | editline/PKGBUILD | 26 |
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 | |||
3 | pkgname=editline | ||
4 | pkgver=1.15.3 | ||
5 | pkgrel=1 | ||
6 | pkgdesc="A readline() replacement for UNIX without termcap (ncurses)" | ||
7 | arch=('x86_64') | ||
8 | url="http://troglobit.com/editline.html" | ||
9 | license=('BSD') | ||
10 | source=("ftp://ftp.troglobit.com/editline/${pkgname}-${pkgver}.tar.xz") | ||
11 | sha512sums=('7566ba1616ec729fe6f60571b3ca3eef83fc9f12f530e8351976d16627ecc7fce81b7d620218ffa8a853d95fbbb397477e59dbc2dd113505ce27f790df2a7a38') | ||
12 | |||
13 | |||
14 | build () { | ||
15 | cd "$pkgname-$pkgver" | ||
16 | ./configure --prefix=/usr \ | ||
17 | --sysconfdir=/etc \ | ||
18 | --enable-gc | ||
19 | make | ||
20 | } | ||
21 | |||
22 | package() { | ||
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 | } | ||