summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-08-26 14:28:55 +0200
committerErich Eckner <git@eckner.net>2019-08-26 14:28:55 +0200
commit08c50d433cd305985ed265b5b17e70638fe50621 (patch)
treec8b79ceac16d870e12632a7c5f96fc25e374f89b
parent02d8bac903abfbda20c68eec6350a9a5516a9755 (diff)
downloadarchlinuxewe.git.save-08c50d433cd305985ed265b5b17e70638fe50621.tar.xz
generate-and-upload-self-signed-keys new
-rwxr-xr-xgenerate-and-upload-self-signed-keys/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/generate-and-upload-self-signed-keys/PKGBUILD b/generate-and-upload-self-signed-keys/PKGBUILD
new file mode 100755
index 00000000..b4d830ab
--- /dev/null
+++ b/generate-and-upload-self-signed-keys/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Erich Eckner <arch at eckner dot net>
+pkgname=generate-and-upload-self-signed-keys
+pkgver=0.0
+pkgrel=1
+pkgdesc="Script to generate and upload self-signed keys"
+arch=('any')
+url="https://git.eckner.net/Erich/${pkgname}"
+license=('GPL')
+groups=()
+depends=('openssl' 'rsync' 'nginx')
+makedepends=()
+checkdepends=()
+optdepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=("etc/${pkgname}.conf")
+options=()
+source=(
+ "https://git.eckner.net/Erich/${pkgname}/snapshot/${pkgname}-${pkgver}.tar.xz"
+)
+sha512sums=('fb2187670c0768795549b8a3fc2ae5100dcbf920c84d7a25538ccc3946cc32c75508fdee1d3ba2652fe30835cd9d7e074874e7e243c62c27163a8967b4e40edf')
+
+build() {
+
+ cd ${pkgname}-${pkgver}
+ make
+
+}
+
+package() {
+
+ cd ${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+
+}