summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfelics@felics-tablet2016-01-28 16:34:54 +0100
committerfelics@felics-tablet2016-01-28 16:34:54 +0100
commitf19f5ffc44da9ed8262281cb422e3661a77475c7 (patch)
treeab808e8c64ec28a135e622f984f38605637c20a0
parent005d77bbb956c9130e791aabe1c004bfc14b0296 (diff)
downloadaur-f19f5ffc44da9ed8262281cb422e3661a77475c7.tar.gz
symlinking the HTML-documentation into /usr/share/doc/wwwoffle/.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 7 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 291b25cd52ff..934fd0d99c6d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Thu Jan 28 11:31:54 UTC 2016
+# Thu Jan 28 15:34:35 UTC 2016
pkgbase = wwwoffle
pkgdesc = Simple caching proxy server with special features for use with dial-up internet links. Includes startup scripts for OpenRC, System V init, systemd.
pkgver = 2.9i
- pkgrel = 5
+ pkgrel = 6
url = http://www.gedanken.org.uk/software/wwwoffle/
install = wwwoffle.install
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index d3f5ca401dc4..a7ea43cb59b8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=wwwoffle
pkgver=2.9i
-pkgrel=5
+pkgrel=6
pkgdesc="Simple caching proxy server with special features for use with dial-up internet links. Includes startup scripts for OpenRC, System V init, systemd."
arch=('i686' 'x86_64' 'arm' 'arm64')
url="http://www.gedanken.org.uk/software/wwwoffle/"
@@ -66,6 +66,10 @@ package() {
mkdir -p "${pkgdir}/usr/share"
mv -v "${pkgdir}/usr/doc" "${pkgdir}/usr/share/doc"
+ # Symlink the HTML-Documentation under wwwoffle's spool directory to the documentation directory. Note: The html documentation needs to stay at wwwoffle's spool directory, since it serves it from there when it's webinterface is accessed.
+ mkdir -p "${pkgdir}/usr/share/doc/wwwoffle/html"
+ ln -sv "/var/spool/wwwoffle/html"/{de,en,es,fr,it,nl,pl,ru} "${pkgdir}/usr/share/doc/wwwoffle/html/"
+
# Install startup scripts for different init systems.
install -D -m755 "${srcdir}/initscript_sysvinit" "${pkgdir}/etc/rc.d/wwwoffle"
install -D -m755 "${srcdir}/initscript_openrc" "${pkgdir}/etc/init.d/wwwoffle"