1 # Maintainer: Devin J. Pohly <djpohly+arch@gmail.com>
5 pkgdesc="Tool for selectively removing or dumping Squid-2 cache contents"
7 url="http://www.wa.apana.org.au/~dean/squidpurge/"
10 source=("http://www.wa.apana.org.au/~dean/sources/purge-$pkgver-src.tar.gz")
11 md5sums=('60385256da26311036ebcc4802b0dac5')
15 make OPT_NORM='-DDEFAULT_SQUID_CONF=\"/etc/squid/squid.conf\" -Wall -fpermissive' SOCKLEN=socklen_t
20 install -D purge "$pkgdir/usr/bin/squidpurge"
22 install -d "$pkgdir/usr/share/licenses/$pkgname"
23 sed -n '/Author/,/SOFTWARE\./s,^// \?,,p' purge.cc > "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
26 # vim:set ts=2 sw=2 et: