summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD27
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..640e15977112
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = sshlm-git
+ pkgdesc = Local line editing wrapper around ssh for high-latency links
+ pkgver = r62.cfacd75
+ pkgrel = 1
+ url = https://github.com/mnalis/ssh-line-mode
+ arch = any
+ license = GPL
+ makedepends = git
+ depends = openssh
+ depends = perl-io-pty-easy
+ depends = perl-term-readkey
+ depends = perl-term-readline-gnu
+ provides = sshlm
+ conflicts = sshlm
+ source = sshlm::git://github.com/mnalis/ssh-line-mode.git
+ md5sums = SKIP
+
+pkgname = sshlm-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..a6d56e63d28c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: DosAmp <bilderschleuder@gmail.com>
+pkgname=sshlm-git
+_pkgname="${pkgname%-git}"
+pkgver=r62.cfacd75
+pkgrel=1
+pkgdesc='Local line editing wrapper around ssh for high-latency links'
+arch=('any')
+url='https://github.com/mnalis/ssh-line-mode'
+license=('GPL')
+depends=('openssh' 'perl-io-pty-easy' 'perl-term-readkey' 'perl-term-readline-gnu')
+makedepends=('git')
+provides=("$_pkgname")
+conflicts=("$_pkgname")
+source=("${_pkgname}::git://github.com/mnalis/ssh-line-mode.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$_pkgname"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ cd "$srcdir/$_pkgname"
+ make prefix="/usr" DESTDIR="$pkgdir" install
+ mkdir -p "${pkgdir}/usr/share/doc/$_pkgname"
+ install -m644 BUGS.txt LICENSE README.md USAGE.txt "${pkgdir}/usr/share/doc/$_pkgname"
+}