summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/local-website/PKGBUILD
blob: 7cc0e0ed4e9b0b9c6c29eb3b69e580b684682715 (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=11
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

}