Skip to content

Instantly share code, notes, and snippets.

@wlhlm
Created January 8, 2017 22:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wlhlm/0d64472cb8d1fd57cd7a2641c187a9e4 to your computer and use it in GitHub Desktop.
Save wlhlm/0d64472cb8d1fd57cd7a2641c187a9e4 to your computer and use it in GitHub Desktop.
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