diff options
author | root <root@rshg054.dnsready.net> | 2013-02-16 00:07:09 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-02-16 00:07:09 -0800 |
commit | 4a4f6be8604aa35bdc81ae29d86b07dc8aea0c5c (patch) | |
tree | 41f9694a761d6e5637f15f9f9241e5b84cd8897b /pcr/squirm | |
parent | 067830244f6b16cb094a59e5ca8fa262bd66a2ec (diff) |
Sat Feb 16 00:07:08 PST 2013
Diffstat (limited to 'pcr/squirm')
-rw-r--r-- | pcr/squirm/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pcr/squirm/PKGBUILD b/pcr/squirm/PKGBUILD new file mode 100644 index 000000000..a1249c39d --- /dev/null +++ b/pcr/squirm/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Spider.007 <archPackage@spider007.net> +# Contributor: Spider.007 <archPackage@spider007.net> +pkgname=squirm +pkgver=1.26 +pkgrel=2 +pkgdesc="Fast & configurable proxy redirector" +url="http://squirm.foote.com.au/" +source=("$url/$pkgname-$pkgver.tgz") +md5sums=('54ac1d208620ec1e4419f97315d38848') +license=('GPL2') +arch=('i686' 'x86_64' 'mips64el') + +build() { + cd $srcdir/$pkgname-$pkgver + + make PREFIX=/usr +} + +package() { + cd $srcdir/$pkgname-$pkgver + +# make install uses a weird prefix + install -d $pkgdir/etc/squirm $pkgdir/var/log/squirm + install -Dm755 squirm $pkgdir/usr/bin/squirm + install -m644 squirm.conf.dist $pkgdir/etc/squirm/squirm.conf + install -m644 squirm.patterns.dist $pkgdir/etc/squirm/squirm.patterns + +# use absolute path files + sed -e "s,logs,/var/log/squirm,g" \ + -e "s,pattern ,& /etc/squirm/,g" \ + -i $pkgdir/etc/squirm/squirm.conf +} |