summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/local-website/PKGBUILD
blob: fd5f2f6b3f58a9712c6c6e56058b5bf630754fcb (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=1
pkgdesc="Contents of http://localhost"
arch=(i686 x86_64)
license=('GPL')
url="http://localhost"
#install=filesystem.install
depends=('lighttpd')
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 655 $startdir/pkg/srv/http

}