1 # Contributor: Andrwe Lord Weber <andrwe at andrwe dot org>
3 pkgname=privoxy-blocklist
6 pkgdesc="Script which converts Adblock Plus blocklist to privoxy format."
8 url=http://andrwe.org/doku.php/scripting/bash/privoxy-blocklist
10 depends=("sed" "wget" "privoxy" "bash")
11 source=("http://andrwe.org/doku.php/scripting/bash/${pkgname}?do=export_code&codeblock=0")
12 md5sums=('3869de93201a7302acea0860b01b6c2a')
16 install -d ${pkgdir}/usr/sbin/
17 install -d ${pkgdir}/etc/cron.weekly/
18 install -m 700 -o root -g root "${pkgname}?do=export_code&codeblock=0" ${pkgdir}/usr/sbin/${pkgname}
19 echo -e "#!/bin/bash\n/usr/sbin/${pkgname}" > "${pkgdir}/etc/cron.weekly/${pkgname}"
20 chmod 755 "${pkgdir}/etc/cron.weekly/${pkgname}"