summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 61783561ba259b0936c2ae6a101ceffe32172290 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Maintainer: MartiMcFly <martimcfly [at] autorisation.de>

pkgname=('kopano-service-overview')
replaces=("zarafa-service-overview")
groups=('kopano')
pkgver=1.0.2
pkgrel=1
pkgdesc='Kopano service overview'
arch=('any')
url='http://www.pietma.com/'
license=('AGPL3')
depends=('php'
	 'php-fpm')
source=('quicksand.ttf'
	'index.php'
	'kopano-service-overview.conf'
	'nginx-location.conf'
	'nginx-ssl.example.conf'
	'mozilla-account-configuration.php')
md5sums=('SKIP'
         'SKIP'
         'SKIP'
         'SKIP'
         'SKIP'
         'SKIP')

package() {
    cd ${srcdir}

    mkdir -p ${pkgdir}/etc/php/fpm.d
    cp ${srcdir}/${pkgname}.conf ${pkgdir}/etc/php/fpm.d
    
    mkdir -p ${pkgdir}/etc/webapps/${pkgname}/
    cp ${srcdir}/nginx-ssl.example.conf ${pkgdir}/etc/webapps/${pkgname}/
    cp ${srcdir}/nginx-location.conf ${pkgdir}/etc/webapps/${pkgname}/
    
    mkdir -p ${pkgdir}/usr/share/webapps/${pkgname}/
    cp quicksand.ttf ${pkgdir}/usr/share/webapps/${pkgname}/
    cp index.php ${pkgdir}/usr/share/webapps/${pkgname}/
    cp mozilla-account-configuration.php ${pkgdir}/usr/share/webapps/${pkgname}/
}