summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/local-website/PKGBUILD
blob: 39c1fe2f2dad192cc66c1e01285707146ce6eea2 (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=2
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 755 $startdir/pkg/srv/http

}