diff options
Diffstat (limited to 'editline')
-rw-r--r-- | editline/.SRCINFO | 12 | ||||
-rw-r--r-- | editline/PKGBUILD | 27 |
2 files changed, 39 insertions, 0 deletions
diff --git a/editline/.SRCINFO b/editline/.SRCINFO new file mode 100644 index 0000000..9f97c8c --- /dev/null +++ b/editline/.SRCINFO | |||
@@ -0,0 +1,12 @@ | |||
1 | pkgbase = editline | ||
2 | pkgdesc = A readline() replacement for UNIX without termcap (ncurses) | ||
3 | pkgver = 1.16.1 | ||
4 | pkgrel = 1 | ||
5 | url = http://troglobit.com/editline.html | ||
6 | arch = x86_64 | ||
7 | license = BSD | ||
8 | source = https://github.com/troglobit/editline/archive/1.16.1.tar.gz | ||
9 | sha512sums = 32c8362cd553ff616ecbb259705d6ed13a48f5bae0616c9770d9c254e07723bbd957de8ad0643d0652ec73e8e99e8c45e7f060461ba316b0eb30d911d772b029 | ||
10 | |||
11 | pkgname = editline | ||
12 | |||
diff --git a/editline/PKGBUILD b/editline/PKGBUILD new file mode 100644 index 0000000..5865c5f --- /dev/null +++ b/editline/PKGBUILD | |||
@@ -0,0 +1,27 @@ | |||
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 | } | ||