Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
AUR getssl-add-scripts patch
From 1388f6fbc3727c6d037d9bd4bf483effeed583d3 Mon Sep 17 00:00:00 2001
From: Wilhelm Schuster <ws@wilhelm.re>
Date: Sun, 8 Jan 2017 23:25:56 +0100
Subject: [PATCH] Include {dns,other}_scripts
---
PKGBUILD | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/PKGBUILD b/PKGBUILD
index 6a5c513..7faf97d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,9 @@
# Maintainer: Karol Babioch <karol@babioch.de
+# Contributor: Wilhelm Schuster <ws [aT] wilhelm [dot] re>
pkgname=getssl
pkgver=2.00
-pkgrel=1
+pkgrel=2
pkgdesc='Obtain SSL certificates from the letsencrypt.org ACME server. Suitable for automating the process on remote servers.'
arch=('any')
url='https://github.com/srvrco/getssl'
@@ -14,6 +15,10 @@ sha256sums=('SKIP')
package() {
cd "$srcdir/$pkgname"
+
+ install -dm755 "$pkgdir/usr/share/$pkgname"
+ cp -r {dns,other}_scripts "$pkgdir/usr/share/$pkgname"
+ chmod 755 -R "$pkgdir/usr/share/$pkgname/"{dns,other}_scripts
+
install -Dm755 getssl "$pkgdir/usr/bin/getssl"
}
-
--
2.10.1 (Apple Git-78)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.