summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/local-website/PKGBUILD
blob: 7c9b7598b01cb385e66c3a227d2e240dbcdffcbd (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=4
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  srv/http
  cp -rp $startdir/htdocs/* $startdir/pkg/srv/http
  chown -R http:users $startdir/pkg/srv/http
  chmod -R 755 $startdir/pkg/srv/http

}