PKGBUILDs/community/apache13-mod_accounting/PKGBUILD
2009-10-09 21:15:33 -05:00

31 lines
987 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=apache13-mod_accounting
pkgver=0.5
pkgrel=3
pkgdesc="accounting module for apache 1 branch"
arch=(i686 x86_64)
url="http://mod-acct.sourceforge.net/"
license=("GPL")
depends=(apache13 mysql)
makedepends=(patch)
conflicts=()
replaces=()
backup=()
install=
source=(http://downloads.sourceforge.net/sourceforge/mod-acct/mod_accounting-$pkgver.tar.gz \
build.patch)
md5sums=('fc045bbdc5ae32241765fea2967a63fb'
'1a8e29289fa4954c1b9f750f92935bd9')
build() {
cd $startdir/src/mod_accounting-$pkgver
patch -Np1 <../build.patch
make || return 1
install -d -m 0755 $startdir/pkg/usr/lib/apache13 && \
install -m 0755 mod_accounting.so $startdir/pkg/usr/lib/apache13 && \
install -d -m 0755 $startdir/pkg/usr/share/mod_accounting && \
install -m 0644 schema.sql $startdir/pkg/usr/share/mod_accounting
}