summaryrefslogtreecommitdiff
path: root/community/pound/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/pound/PKGBUILD
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/pound/PKGBUILD')
-rw-r--r--community/pound/PKGBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/community/pound/PKGBUILD b/community/pound/PKGBUILD
new file mode 100644
index 000000000..2f66f0892
--- /dev/null
+++ b/community/pound/PKGBUILD
@@ -0,0 +1,41 @@
+# $Id: PKGBUILD 91955 2013-05-30 09:43:54Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: Douglas Soares de Andrade <dsa@aur.archlinux.org>
+# Contributor: Roberto Alsina <ralsina@kde.org>
+
+pkgname=pound
+pkgver=2.6
+pkgrel=6
+pkgdesc="A reverse proxy, load balancer, and SSL wrapper"
+arch=('i686' 'x86_64')
+url="http://www.apsis.ch/pound/index_html"
+license=('GPL')
+depends=('pcre' 'openssl')
+backup=(etc/pound/pound.cfg)
+source=(http://www.apsis.ch/pound/Pound-$pkgver.tgz
+ pound.runit
+ pound.service
+ pound.cfg)
+md5sums=('8c913b527332694943c4c67c8f152071'
+ '2a555ee5871a849cb1f6e6ba2ff054df'
+ 'c0d0726a96dfda0e83843362e401b3dc'
+ '8937808acd22c6391ebe4340af8df854')
+
+build() {
+ cd $srcdir/Pound-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc/pound --sbindir=/usr/bin
+ make
+}
+
+package() {
+ cd $srcdir/Pound-$pkgver
+ install -d $pkgdir/usr/sbin
+ make DESTDIR=$pkgdir install
+ chown root.root -R $pkgdir/usr
+ install -d $pkgdir/etc/sv
+ install -d $pkgdir/etc/sv/pound
+ install -m0755 $srcdir/pound.runit $pkgdir/etc/sv/pound/run
+ install -D -m0644 $srcdir/pound.cfg $pkgdir/etc/pound/pound.cfg
+ install -Dm0644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service
+ rmdir $pkgdir/usr/sbin
+}