[arch-commits] Commit in acme.sh/repos (community-any community-any/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Dec 4 18:53:04 UTC 2018


    Date: Tuesday, December 4, 2018 @ 18:53:03
  Author: felixonmars
Revision: 411196

archrelease: copy trunk to community-any

Added:
  acme.sh/repos/community-any/
  acme.sh/repos/community-any/PKGBUILD
    (from rev 411195, acme.sh/trunk/PKGBUILD)

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

Copied: acme.sh/repos/community-any/PKGBUILD (from rev 411195, acme.sh/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2018-12-04 18:53:03 UTC (rev 411196)
@@ -0,0 +1,27 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Gavin Lloyd <gavinhungry at gmail.com>
+
+pkgname=acme.sh
+pkgver=2.7.9
+pkgrel=1
+pkgdesc='An ACME Shell script, an acme client alternative to certbot'
+arch=('any')
+url='https://github.com/Neilpang/acme.sh'
+license=('GPL3')
+depends=('bash')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Neilpang/acme.sh/archive/$pkgver.tar.gz")
+sha256sums=('25f8eef1a53584e3ebc653e1ae7763362ca97c40bb476ab7fee01aa50fa3a101')
+
+package() {
+  cd $pkgname-$pkgver
+
+  install -dm755 "$pkgdir"/usr/share/acme.sh/deploy
+  install -dm755 "$pkgdir"/usr/share/acme.sh/dnsapi
+  install -dm755 "$pkgdir"/usr/bin
+
+  install -m755 acme.sh "$pkgdir"/usr/share/acme.sh/
+  install -m755 deploy/*.sh "$pkgdir"/usr/share/acme.sh/deploy/
+  install -m755 dnsapi/*.sh "$pkgdir"/usr/share/acme.sh/dnsapi/
+
+  ln -s /usr/share/acme.sh/acme.sh "$pkgdir"/usr/bin/acme.sh
+}


More information about the arch-commits mailing list