summaryrefslogtreecommitdiff
path: root/config-service-projects.PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'config-service-projects.PKGBUILD')
-rw-r--r--config-service-projects.PKGBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/config-service-projects.PKGBUILD b/config-service-projects.PKGBUILD
index 71cd152..d938140 100644
--- a/config-service-projects.PKGBUILD
+++ b/config-service-projects.PKGBUILD
@@ -1,17 +1,17 @@
. ${BUILDFILE%/*}/common.sh
-pkgver=20160713.1
-
-depends=(git cgit uwsgi-plugin-cgi config-uwsgi)
+pkgver=20161106.2
package() {
-cd "$pkgdir"
+preamble
+
+depends+=(nginx config-mgmt-certbot)
add-file -m755 etc/ssl/misc/certbot-get.d/10-projects <<EOF
#!/bin/bash
echo projects.{parabola.nu,parabolagnulinux.org}
EOF
-add-file etc/nginx/sites/server-projects.parabola.nu.conf <<EOF
+add-file etc/nginx/sites/alias-projects_parabola_nu.conf <<EOF
# -*- Mode: nginx; nginx-indent-level: 8; indent-tabs-mode: t -*-
server {
@@ -23,5 +23,5 @@ server {
}
EOF
-backup=($(find "$pkgdir" -type f -printf '%P\n'))
+postamble
}