diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-02-14 12:29:48 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-02-14 12:29:48 +0100 |
commit | 5881de1c8bbe28aef2b9a5abdac4ae29fa5c456b (patch) | |
tree | 7d23cf467530d9a46db6e54d4dc91646c68b762e | |
download | AUR-5881de1c8bbe28aef2b9a5abdac4ae29fa5c456b.tar.gz AUR-5881de1c8bbe28aef2b9a5abdac4ae29fa5c456b.tar.zst AUR-5881de1c8bbe28aef2b9a5abdac4ae29fa5c456b.zip |
Initial commit
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 26 |
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 | ||
3 | pkgbase = 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 | |||
13 | pkgname = 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 | |||
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 | } | ||