]> git.immae.eu Git - perso/Immae/Config/AUR.git/commitdiff
Initial commit
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Thu, 14 Feb 2019 11:29:48 +0000 (12:29 +0100)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Thu, 14 Feb 2019 11:29:48 +0000 (12:29 +0100)
.SRCINFO [new file with mode: 0644]
PKGBUILD [new file with mode: 0644]

diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644 (file)
index 0000000..74852e6
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+# Generated by mksrcinfo v8
+# Thu Feb 14 11:29:40 UTC 2019
+pkgbase = editline
+       pkgdesc = A readline() replacement for UNIX without termcap (ncurses)
+       pkgver = 1.15.3
+       pkgrel = 1
+       url = http://troglobit.com/editline.html
+       arch = x86_64
+       license = BSD
+       source = ftp://ftp.troglobit.com/editline/editline-1.15.3.tar.xz
+       sha512sums = 7566ba1616ec729fe6f60571b3ca3eef83fc9f12f530e8351976d16627ecc7fce81b7d620218ffa8a853d95fbbb397477e59dbc2dd113505ce27f790df2a7a38
+
+pkgname = editline
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644 (file)
index 0000000..4c6086a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer : Immae <ismael.bouya@normalesup.org>
+
+pkgname=editline
+pkgver=1.15.3
+pkgrel=1
+pkgdesc="A readline() replacement for UNIX without termcap (ncurses)"
+arch=('x86_64')
+url="http://troglobit.com/editline.html"
+license=('BSD')
+source=("ftp://ftp.troglobit.com/editline/${pkgname}-${pkgver}.tar.xz")
+sha512sums=('7566ba1616ec729fe6f60571b3ca3eef83fc9f12f530e8351976d16627ecc7fce81b7d620218ffa8a853d95fbbb397477e59dbc2dd113505ce27f790df2a7a38')
+
+
+build () {
+  cd "$pkgname-$pkgver"
+  ./configure --prefix=/usr \
+              --sysconfdir=/etc \
+              --enable-gc
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+  mv $pkgdir/usr/share/man/man3/editline.3 $pkgdir/usr/share/man/man3/editline-troglobit.3
+}