]> git.immae.eu Git - perso/Immae/Config/AUR.git/blob - PKGBUILD
upgpkg: editline 1.16.1-1
[perso/Immae/Config/AUR.git] / PKGBUILD
1 # Maintainer : Immae <ismael.bouya@normalesup.org>
2
3 pkgname=editline
4 pkgver=1.16.1
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=("https://github.com/troglobit/${pkgname}/archive/${pkgver}.tar.gz")
11 sha512sums=('32c8362cd553ff616ecbb259705d6ed13a48f5bae0616c9770d9c254e07723bbd957de8ad0643d0652ec73e8e99e8c45e7f060461ba316b0eb30d911d772b029')
12
13
14 build () {
15 cd "$pkgname-$pkgver"
16 ./autogen.sh
17 ./configure --prefix=/usr \
18 --sysconfdir=/etc \
19 --enable-gc
20 make
21 }
22
23 package() {
24 cd "$pkgname-$pkgver"
25 make DESTDIR="$pkgdir" install
26 mv $pkgdir/usr/share/man/man3/editline.3 $pkgdir/usr/share/man/man3/editline-troglobit.3
27 }