summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/local-website/PKGBUILD
blob: 83601386b67cf6e71b9735985d5788c350dce1f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
pkgname=local-website
pkgver=2
pkgrel=23
pkgdesc="Contents of http://localhost"
arch=(i686 x86_64)
license=('GPL')
url="http://localhost"
#install=filesystem.install
depends=('lighttpd' 'php')
source=()

build()
{
  cd $startdir/pkg
  mkdir -p  data/srv/httpd/htdocs
  cp -rp $startdir/htdocs/* $startdir/pkg/data/srv/httpd/htdocs
  chown -R http:users $startdir/pkg/data/srv/httpd
  chmod -R 755 $startdir/pkg/data/srv/httpd

}