diff options
author | felics@felics-tablet | 2018-01-30 12:36:16 +0100 |
---|---|---|
committer | felics@felics-tablet | 2018-01-30 12:36:16 +0100 |
commit | 9bfeacde079c3f4d1fd5ceefcc973a6ba8e3cc6d (patch) | |
tree | fe59260369d85808d45a03c5411e1a9204cfe92b | |
parent | 9a5bba983c2d738777ec0f3ec530f74bc4d888c5 (diff) | |
download | aur-9bfeacde079c3f4d1fd5ceefcc973a6ba8e3cc6d.tar.gz |
Installs contrib scripts to documentation directory
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 11 insertions, 3 deletions
@@ -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 @@ -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" } |