[arch-commits] Commit in tinyssh-convert/repos (2 files)

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


    Date: Thursday, April 4, 2019 @ 13:40:53
  Author: archange
Revision: 449202

archrelease: copy trunk to community-x86_64

Added:
  tinyssh-convert/repos/community-x86_64/
  tinyssh-convert/repos/community-x86_64/PKGBUILD
    (from rev 449201, tinyssh-convert/trunk/PKGBUILD)

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

Copied: tinyssh-convert/repos/community-x86_64/PKGBUILD (from rev 449201, tinyssh-convert/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2019-04-04 13:40:53 UTC (rev 449202)
@@ -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