summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f56f6a03dbeb84c61bae49f2dfe8a72013f5aa83 (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
43
44
45
46
47
48
49
# Maintainer: Walter Dworak <preparationh67@gmail.com>
# Contributor: Philipp Schmitt (philipp<at>schmitt<dot>co)

pkgname=kanboard
pkgver=1.2.8
pkgrel=1
pkgdesc='Simple visual task board'
arch=('any')
url='http://kanboard.net/'
license=('MIT')
depends=('php' 'php-gd')
optdepends=('mariadb: For MySQL storage' 'php-sqlite: For sqlite storage' 'php-pgsql: For postgres storage')
backup=('etc/webapps/kanboard/config.php' 'etc/webapps/kanboard/kanboard-apache.conf' 'etc/webapps/kanboard/kanboard-nginx.conf'
'etc/webapps/kanboard/kanboard-nginx-subdir.conf')
install="$pkgname.install"
options=(!strip)
source=("https://github.com/kanboard/kanboard/archive/v$pkgver/kanboard-$pkgver.zip"
	"kanboard-apache.conf"
	"kanboard-nginx.conf"
	"kanboard-nginx-subdir.conf"
	"kanboard-cron"
	"kanboard.service"
	"kanboard.timer")
validpgpkeys=(
	'DCF1D3CBC1E43342116F760E112C718C894226ED'
	'112C718C894226ED')
#source=("http://kanboard.net/kanboard-$pkgver.zip"
package() {
    mkdir -p ${pkgdir}/usr/share/webapps
    mkdir -p ${pkgdir}/usr/lib/systemd/system
    mkdir -p ${pkgdir}/usr/share/licenses/kanboard
    cp -R ${srcdir}/${pkgname}-${pkgver} ${pkgdir}/usr/share/webapps/${pkgname}
    install -D -m 644 "${srcdir}/kanboard-apache.conf" ${pkgdir}/etc/webapps/${pkgname}/kanboard-apache.conf
    install -D -m 644 "${srcdir}/kanboard-nginx.conf" ${pkgdir}/etc/webapps/${pkgname}/kanboard-nginx.conf
    install -D -m 644 "${srcdir}/kanboard-nginx-subdir.conf" ${pkgdir}/etc/webapps/${pkgname}/kanboard-nginx-subdir.conf
    install -D -m 644 "${srcdir}/kanboard-cron" ${pkgdir}/etc/webapps/${pkgname}/kanboard-cron
    install -D -m 644 "${srcdir}/kanboard.service" ${pkgdir}/usr/lib/systemd/system/kanboard.service
    install -D -m 644 "${srcdir}/kanboard.timer" ${pkgdir}/usr/lib/systemd/system/kanboard.timer
    install -D -m 644 "${srcdir}/${pkgname}-${pkgver}/LICENSE" ${pkgdir}/usr/share/licenses/kanboard/LICENSE
    cp ${pkgdir}/usr/share/webapps/${pkgname}/config.default.php ${pkgdir}/etc/webapps/${pkgname}/config.php
}

sha256sums=('fc99316700762df2dea7c2c314c005c122764ce5970c6de7ef12413735cc5c62'
            '6eb379e74f744d95a930c90ae7744cb8236501bdcd24c7efb6a2eaf1a857204f'
            '62853c973e5b0718ceae5dbeb76b478bb218ce89d732e66a5eef1c7c258ea4b4'
            '5fdf81a69cda8c3c813e5d21f62d4112264645c95d376d7b31dae4573724930a'
            '0efff866815a47329767bb00482f9fc1adff77a6e0e62889ea666ecd930d6f1d'
            '5353560c7664db99a2845a39750a2c5e62045083f7e3f835a198158faa809c64'
            'b030b1655cfca20700faa5d3f4dac87bacc24e7070517af041f2ffb25ba46292')