updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / apache13-mod_accounting / PKGBUILD
blobcc978d9ef8f84206c334acf3f2a5ef6499e65215
1 # $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
2 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
3 # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
5 pkgname=apache13-mod_accounting
6 pkgver=0.5
7 pkgrel=3
8 pkgdesc="accounting module for apache 1 branch"
9 arch=(i686 x86_64)
10 url="http://mod-acct.sourceforge.net/"
11 license=("GPL")
12 depends=(apache13 mysql)
13 makedepends=(patch)
14 conflicts=()
15 replaces=()
16 backup=()
17 install=
18 source=(http://downloads.sourceforge.net/sourceforge/mod-acct/mod_accounting-$pkgver.tar.gz \
19         build.patch)
20 md5sums=('fc045bbdc5ae32241765fea2967a63fb'
21          '1a8e29289fa4954c1b9f750f92935bd9')
23 build() {
24   cd $startdir/src/mod_accounting-$pkgver
25   patch -Np1 <../build.patch
26   make || return 1
27   install -d -m 0755 $startdir/pkg/usr/lib/apache13 && \
28   install -m 0755 mod_accounting.so $startdir/pkg/usr/lib/apache13 && \
29   install -d -m 0755 $startdir/pkg/usr/share/mod_accounting && \
30   install -m 0644 schema.sql $startdir/pkg/usr/share/mod_accounting