pkgname=linhes-web pkgver=9.0.0 pkgrel=10 conflicts=() pkgdesc="LinHES local website" depends=('lighttpd' 'php-cgi') makedepends=() arch=('x86_64') license=('GPL') source=('linhes-web.conf' 'website.tar.gz') sha256sums=('e39ce02bde5eb3d359f1286b41751aa715961cf2b2d9a1243c7f01d20ed9c993' '89a1361e771567169c8d00a977843270ab3bfaf5d74d5e2f10351b93df4b2006') 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 #lighttpd files install -Dm644 $srcdir/linhes-web.conf $pkgdir/etc/lighttpd/conf.d/linhes-web.conf }