archrelease: copy trunk to extra-x86_64
[arch-packages.git] / mod_dnssd / repos / extra-x86_64 / PKGBUILD
blobb3bae411d48e0ff066cbc43ca8e2367cec3d1db2
1 # Maintainer: Jan de Groot <jgc@archlinux.org>
2 # Contributor: tardo <tardo@nagi-fanboi.net>
3 # Contributor: William Rea <sillywilly@gmail.com>
5 pkgname=mod_dnssd
6 pkgver=0.6
7 pkgrel=8
8 pkgdesc="Zeroconf module for Apache2"
9 arch=('x86_64')
10 url="http://0pointer.de/lennart/projects/mod_dnssd"
11 license=('APACHE')
12 depends=('avahi' 'apache')
13 source=(http://0pointer.de/lennart/projects/$pkgname/${pkgname}-${pkgver}.tar.gz
14         fix_undefined_reference.patch) # from upstream be2fb9f6158f80068
15 sha512sums=('c3eacd2065f996ace76496b828a5be4b735225782c88ed0fba00c37ffed91af7c81cef755556968880e11e05fbaf65a4326728cb82abcad03ccaf925be1f29d3'
16             '3a7742d7c31b6fd9bbc3a67b72408b1149b86774cd5204effa0bd9c8cd15c6e0e7a045c72cd7eb3f9ea0b946282891a8a032b5b1c7713435c4eaccbef7c55535')
18 prepare() {
19   cd ${pkgname}-${pkgver}
20   patch -p1 < "${srcdir}/fix_undefined_reference.patch"
23 build() {
24   cd ${pkgname}-${pkgver}
25   ./configure --prefix=/usr --disable-lynx
26   make
29 package() {
30   cd ${pkgname}-${pkgver}
31   install -D -m755 src/.libs/mod_dnssd.so "${pkgdir}/usr/lib/httpd/modules/mod_dnssd.so"