summaryrefslogtreecommitdiff
path: root/x86_64/polipo/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-11-26 01:53:53 -0800
committerroot <root@rshg054.dnsready.net>2012-11-26 01:53:53 -0800
commitd41782ebd2416faf39268ec9a2c3242430390308 (patch)
tree856102788879ffdd560e4e61769df4c0df369d18 /x86_64/polipo/PKGBUILD
parent7078408fce09d86886894f26c22cc36fc16aa4cc (diff)
Mon Nov 26 01:48:57 PST 2012
Diffstat (limited to 'x86_64/polipo/PKGBUILD')
-rw-r--r--x86_64/polipo/PKGBUILD54
1 files changed, 54 insertions, 0 deletions
diff --git a/x86_64/polipo/PKGBUILD b/x86_64/polipo/PKGBUILD
new file mode 100644
index 000000000..5611e1ec4
--- /dev/null
+++ b/x86_64/polipo/PKGBUILD
@@ -0,0 +1,54 @@
+# $Id: PKGBUILD 80565 2012-11-25 16:48:33Z ttoepper $
+# Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de>
+# Contributor: Jelle van der Waa <jelle vdwaa nl>
+# Contributor: Thomas Holmquist <thomas@vorget.com>
+# Contributor: Jan Boehringer <ja(a)bm-boehringer.de>
+# Contributor: Alex Griffin <griffin.aj(a)gmail.com>
+
+pkgname=polipo
+pkgver=1.0.4.1
+pkgrel=8
+pkgdesc="A small and fast caching web proxy."
+arch=('i686' 'x86_64')
+url="http://www.pps.jussieu.fr/~jch/software/polipo/"
+license=('GPL')
+depends=('bash')
+makedepends=('texinfo')
+install=polipo.install
+source=("http://freehaven.net/~chrisd/polipo/polipo-$pkgver.tar.gz"
+ "polipo.rc.d" "polipo.conf.d" "polipo.service")
+md5sums=('bfc5c85289519658280e093a270d6703'
+ '7406aad26807fb3a4e5f7b01ecb97a59'
+ '685aa0c6070dee11c701932d23afcc6a'
+ 'a7cf48637a8ec8fe8d88754c399380c0')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make PREFIX="$pkgdir/usr" \
+ MANDIR="$pkgdir/usr/share/man" \
+ INFODIR="$pkgdir/usr/share/info" \
+ LOCAL_ROOT="$pkgdir/usr/share/polipo/www" \
+ DISK_CACHE_ROOT="$pkgdir/var/cache/polipo" \
+ install
+
+
+ # install config files
+ install -Dm 644 config.sample $pkgdir/etc/polipo/config.sample
+ install -Dm 644 forbidden.sample $pkgdir/etc/polipo/forbidden.sample
+
+ # install license
+ install -Dm644 COPYING $pkgdir/usr/share/licenses/polipo/LICENSE
+
+ # install daemon scripts / cron
+ install -Dm 755 $srcdir/polipo.rc.d $pkgdir/etc/rc.d/polipo
+ install -Dm 644 $srcdir/polipo.service $pkgdir/usr/lib/systemd/system/polipo.service
+ install -Dm 644 $srcdir/polipo.conf.d $pkgdir/etc/conf.d/polipo.conf
+}
+
+# vim:set ts=2 sw=2 et: