[arch-commits] Commit in (4 files)

Bruno Pagani archange at archlinux.org
Thu Apr 4 13:40:16 UTC 2019


    Date: Thursday, April 4, 2019 @ 13:40:15
  Author: archange
Revision: 449199

Initial addition of tinyssh-convert to [community]

Added:
  tinyssh-convert/
  tinyssh-convert/repos/
  tinyssh-convert/trunk/
  tinyssh-convert/trunk/PKGBUILD

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Added: tinyssh-convert/trunk/PKGBUILD
===================================================================
--- tinyssh-convert/trunk/PKGBUILD	                        (rev 0)
+++ tinyssh-convert/trunk/PKGBUILD	2019-04-04 13:40:15 UTC (rev 449199)
@@ -0,0 +1,31 @@
+# Maintainer: Giancarlo Razzolini <grazzolini at gmail.com>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=tinyssh-convert
+pkgver=0.2
+pkgrel=5
+pkgdesc="Convert Ed25519 keys from OpenSSH to TinySSH format"
+arch=(x86_64)
+url="https://github.com/ansemjo/tinyssh-convert"
+license=(MIT)
+depends=(glibc)
+source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=(3634d678aeac0f5afebc85b99260ef5eb9f25084bc0c12022fa92784f240841672074ba15036c2b09915b8c47a9ef8386f588b06ef92851c50037f8a00b8b3a7)
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  sed -i 's:CFLAGS =:CFLAGS +=:' Makefile.am
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  autoreconf -vfi
+  ./configure
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  install -Dm755 ${pkgname} -t "${pkgdir}"/usr/bin/
+  install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+}


More information about the arch-commits mailing list