diff options
Diffstat (limited to 'abs/core/local-website/PKGBUILD')
-rw-r--r-- | abs/core/local-website/PKGBUILD | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/abs/core/local-website/PKGBUILD b/abs/core/local-website/PKGBUILD new file mode 100644 index 0000000..1f1faa9 --- /dev/null +++ b/abs/core/local-website/PKGBUILD @@ -0,0 +1,21 @@ +pkgname=local-website +pkgver=2 +pkgrel=15 +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 + +} + |