summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfelics@felics-tablet2018-01-30 12:36:16 +0100
committerfelics@felics-tablet2018-01-30 12:36:16 +0100
commit9bfeacde079c3f4d1fd5ceefcc973a6ba8e3cc6d (patch)
treefe59260369d85808d45a03c5411e1a9204cfe92b
parent9a5bba983c2d738777ec0f3ec530f74bc4d888c5 (diff)
downloadaur-9bfeacde079c3f4d1fd5ceefcc973a6ba8e3cc6d.tar.gz
Installs contrib scripts to documentation directory
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD10
2 files changed, 11 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 534c2e31f1b5..e0a690ffb8f6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = wwwoffle-svn
pkgdesc = Simple caching proxy server with special features (request, recursive fetch, subscription, modify HTML, ...) for use with dial-up internet links. Includes startup scripts for OpenRC, System V init, systemd.
pkgver = 2.9j+svn2229
- pkgrel = 5
+ pkgrel = 6
epoch = 1
url = http://www.gedanken.org.uk/software/wwwoffle/
install = wwwoffle.install
@@ -25,6 +25,8 @@ pkgbase = wwwoffle-svn
replaces = wwwoffle-sysvinit<=2.9j+svn2229
replaces = wwwoffle-openrc<=2.9j+svn2229
replaces = wwwoffle-systemd<=2.9j+svn2229
+ options = emptydirs
+ options = ccache
backup = etc/conf.d/wwwoffle
backup = etc/wwwoffle/wwwoffle.conf
source = wwwoffle::svn+http://gedanken.org.uk/svn/wwwoffle/trunk
diff --git a/PKGBUILD b/PKGBUILD
index 0456b77697cf..d15a85377fc0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ pkgname="${_pkgname}-svn"
# _pkgver=2.9i
epoch=1
pkgver=2.9j+svn2229
-pkgrel=5
+pkgrel=6
pkgdesc="Simple caching proxy server with special features (request, recursive fetch, subscription, modify HTML, ...) 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/"
@@ -40,6 +40,7 @@ backup=(
)
install="${_pkgname}.install"
+options=('emptydirs')
_svnurl="http://gedanken.org.uk/svn/wwwoffle/trunk"
@@ -63,6 +64,8 @@ sha256sums=(
'106f4ce3de6d6ea020e8dcd8a4fd4f78ed2ae855e8a953a8783134e4d2cfba12' # ${install}
)
+options+=('ccache')
+
_pgmver() {
_unpackeddir="${srcdir}/${_pkgname}"
@@ -197,7 +200,10 @@ package() {
### Move config into final place (such that it is not automatically used, but user actually has to do some manual work).
mv "${pkgdir}/etc/wwwoffle/wwwoffle.conf" "${pkgdir}/etc/wwwoffle/wwwoffle.conf.template"
-
+
+ ### Install contrib(uted) scripts and files for the user's disposal
+ cp -av "${srcdir}/${_pkgname}"/{contrib,contrib-win32,doc/scripts} "${pkgdir}/usr/share/doc/wwwoffle/"
+
### Set permissions of spool directory.
chmod -R ug=Xwr "${pkgdir}/var/spool/wwwoffle"
}