diff options
Diffstat (limited to 'extra/varnish/PKGBUILD')
-rw-r--r-- | extra/varnish/PKGBUILD | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/extra/varnish/PKGBUILD b/extra/varnish/PKGBUILD index 32567111c..b69d6ca31 100644 --- a/extra/varnish/PKGBUILD +++ b/extra/varnish/PKGBUILD @@ -1,25 +1,27 @@ -# $Id: PKGBUILD 200724 2013-12-03 14:59:11Z dreisner $ +# $Id: PKGBUILD 210293 2014-04-13 15:14:17Z dreisner $ # Maintainer: Dave Reisner <dreisner@archlinux.org> # Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> # Contributor: Douglas Soares de Andrade # Contributor: Roberto Alsina <ralsina@kde.org> pkgname=varnish -pkgver=3.0.5 +pkgver=4.0.0 pkgrel=1 pkgdesc="High-performance HTTP accelerator" arch=('i686' 'x86_64') url="http://www.varnish-cache.org/" license=('BSD') depends=('gcc' 'libedit' 'pcre') +makedepends=('python-docutils') +optdepends=('python: needed for vmod development') backup=('etc/varnish/default.vcl') install=$pkgname.install source=("http://repo.varnish-cache.org/source/$pkgname-$pkgver.tar.gz" varnish-vcl-reload varnish.service) -md5sums=('674d44775cc927aee4601edb37f60198' +md5sums=('05af2deae29f37b166392a0237756250' '03196dee7fc68e75069393d52c370762' - '276f1761b3c7c6a83688038659194bbb') + '699d118a069c2e63e49c81f275ce2658') build() { cd "$pkgname-$pkgver" @@ -34,11 +36,17 @@ build() { } package() { - make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install + cd "$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install install -m755 "$srcdir/varnish-vcl-reload" "$pkgdir/usr/bin" install -Dm644 "$srcdir/$pkgname.service" "$pkgdir/usr/lib/systemd/system/$pkgname.service" + # config + install -Dm644 "etc/example.vcl" "$pkgdir/etc/varnish/default.vcl" + install -Dm644 "etc/builtin.vcl" "$pkgdir/usr/share/doc/varnish/builtin.vcl" + # license - install -Dm644 "$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } |