summaryrefslogtreecommitdiffstats
path: root/linhes/linhes-web/PKGBUILD
blob: 7f1d43f2cd52368c2f192f16db97d78fce7d4165 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
pkgname=linhes-web
pkgver=9.0.0
pkgrel=2
conflicts=()
pkgdesc="LinHES local website"
depends=('lighttpd' 'php-cgi')
makedepends=()
arch=('x86_64')
license=('GPL')
source=(website.tar.gz)
sha256sums=('6ff99589d225826d86bd1911aa0223f3c9668c02ff15e7bc607e52d90cca20ae')

package() {
    mkdir -p $pkgdir/data/srv/httpd/htdocs/
    cp -rp $srcdir/website/contents/* $pkgdir/data/srv/httpd/htdocs
    chmod -R 755 $pkgdir/data/srv/httpd/htdocs
}