diff options
author | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2012-10-12 03:02:47 -0300 |
---|---|---|
committer | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2012-10-12 03:02:47 -0300 |
commit | 326159237c0afdf9792edf40019530dee18f6490 (patch) | |
tree | bb52283309a1291bf27c2609723c774a8c612784 /social | |
parent | 7b83bedb351161a20b3aa124280a9ecea7ff419f (diff) |
squirm-1.26-1
Diffstat (limited to 'social')
-rw-r--r-- | social/squirm/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/social/squirm/PKGBUILD b/social/squirm/PKGBUILD new file mode 100644 index 000000000..da3a6d372 --- /dev/null +++ b/social/squirm/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Spider.007 <archPackage@spider007.net> +# Contributor: Spider.007 <archPackage@spider007.net> +pkgname=squirm +pkgver=1.26 +pkgrel=1 +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 +} |