# Contributor: Andreas Itzchak Rehberg <devel AT izzysoft DOT de>
# Maintainer: Andreas Itzchak Rehberg <devel AT izzysoft DOT de>
# This PKGBUILD file was autogenerated and should be verified before use!
pkgname=phpdivelog
pkgver=0.4.6
pkgrel=1
pkgdesc="phpDiveLog brings your Aqua Divelog data to the Web"
arch=('any')
url="http://www.izzysoft.de/"
license=('GPL')
depends=('php' 'httpd')
provides=('phpdivelog')
backup=('usr/share/phpdivelog/inc/config.inc' 'etc/pdlpwd')
source=(http://projects.izzysoft.de/ftp/net/div/izzysoft/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums('ec93fefc2165e8e20b5a185708dff5f1')

build() {
  cd $startdir/src/$pkgname-$pkgver
  make DESTDIR="${pkgdir}" prefix=/usr install
  if [ ! -L /var/www/phpdivelog ]; then ln -s /usr/share/phpdivelog /var/www/phpdivelog; fi
}
# vim: set ts=2 sw=2 et:
