# Maintainer: David Runge # Contributor: Maxime Gauduin # Contributor: Alexander 'gridcol' Griesbaum # Contributor: Ravenman # Contributor: Anton Bazhenov # Contributor: Angel 'angvp' Velasquez pkgname=mantisbt pkgver=2.0.0 pkgrel=1 pkgdesc='Web-based issue tracking system' arch=('any') url='https://www.mantisbt.org/' license=('GPL') depends=('php') optdepends=('apache: Web server to run MantisBT' 'curl: Twitter integration' 'gd: Graphs support' 'lighttpd: Web server to run MantisBT' 'mariadb: SQL database' 'nginx: Web server to run MantisBT' 'php-pgsql: PostgreSQL database') backup=('etc/webapps/mantisbt/config_inc.php') install='mantisbt.install' source=("https://downloads.sourceforge.net/mantisbt/mantisbt-${pkgver}.tar.gz") sha256sums=('e6c1fef35ebd20c740cd918c32420a3b7216242217a62489fe28e897c4fc9608') package() { install -dm 755 "${pkgdir}"/{etc/webapps/mantisbt,usr/share/webapps} cp -dr --no-preserve='ownership' mantisbt-${pkgver} "${pkgdir}"/usr/share/webapps/mantisbt cp "${pkgdir}"/usr/share/webapps/mantisbt/config/config_inc.php.sample "${pkgdir}"/etc/webapps/mantisbt/config_inc.php ln -s /etc/webapps/mantisbt/config_inc.php "${pkgdir}"/usr/share/webapps/mantisbt/config/config_inc.php find "${pkgdir}" -type d -exec chmod 755 {} + find "${pkgdir}" -type f -exec chmod 644 {} + } # vim: ts=2 sw=2 et: