1 # This is an example PKGBUILD file. Use this as a start to creating your own,
2 # and remove these comments. For more information, see 'man PKGBUILD'.
3 # NOTE: Please fill out the license field for your package! If it is unknown,
4 # then please put 'unknown'.
6 # Contributor: Matt Kemp <matt@mattikus.com>, David Zaragoza <david@zaragoza.com.ve>
10 pkgdesc="Apache module for the Gnu TLS library."
11 arch=('i686' 'x86_64')
12 url="http://www.outoforder.cc/projects/apache/mod_gnutls/"
14 depends=('apache>=2.0.42' 'gnutls>=2.10.0')
15 provides=('mod_gnutls')
16 conflicts=('mod_gnutls')
17 replaces=('mod_gnutls')
18 install=$pkgname.install
19 source=(http://www.outoforder.cc/downloads/mod_gnutls/$pkgname-$pkgver.tar.bz2)
20 md5sums=('53fd571080b16333d3a4550b8477bf3c')
24 cd "$srcdir/$pkgname-$pkgver"
26 ./configure --with-apxs=/usr/sbin/apxs
28 sed -ir 's/@${APXS_BIN} -i -n gnutls mod_gnutls.so/mkdir -p $(DESTDIR)$(AP_LIBEXECDIR)\n\t@${APXS_BIN} -i -S LIBEXECDIR=$(DESTDIR)$(AP_LIBEXECDIR) -n gnutls mod_gnutls.so/' src/Makefile
29 make DESTDIR=$pkgdir install || return 1
32 # vim:set ts=2 sw=2 et: