summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/guile-ssh/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/pcr/guile-ssh/PKGBUILD b/pcr/guile-ssh/PKGBUILD
new file mode 100644
index 000000000..b837a76c8
--- /dev/null
+++ b/pcr/guile-ssh/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer (AUR): lantw44 (at) gmail (dot) com
+
+# parabola changes and rationale:
+# no changes.
+
+pkgname=guile-ssh
+pkgver=0.11.2
+pkgrel=2
+pkgdesc='SSH module for Guile based on libssh'
+arch=('x86_64' 'i686' 'armv7h')
+url="https://github.com/artyom-poptsov/guile-ssh"
+license=('GPL3')
+depends=(
+ 'guile>=2.0.9'
+ 'libssh>=0.7.3')
+source=("https://github.com/artyom-poptsov/guile-ssh/archive/v${pkgver}.tar.gz")
+sha256sums=('20e9109fe5dd21c9294a94cba12b65cc7650f359e52e7a16f3bdc89e802e13f0')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ autoreconf -fi
+ ./configure --prefix=/usr --disable-rpath
+ make
+}
+
+check() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make check || true # tests unexpectedly fail
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+}