1 # Maintainer: Phillip Smith <fukawi2@NO-SPAM.gmail.com>
6 pkgdesc="An advanced RADIUS web platform aimed at managing Hotspots and general-purpose ISP deployments."
8 url="http://daloradius.com/"
10 #backup=('srv/http/dalbum/config/config.php')
11 source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$_pkgver.tar.gz")
12 md5sums=('39fb6355afc22becc158fb16bd999564')
15 msg "Nothing to compile for $pkgname"
19 _INST_DIR="srv/http/$pkgname"
20 _DOCS_DIR="usr/share/$pkgname"
22 # Install webroot files
23 mkdir -p $pkgdir/$_INST_DIR || return 1
24 cp -r $srcdir/$pkgname-$_pkgver/* $pkgdir/$_INST_DIR || return 1
27 mkdir -p $pkgdir/$_DOCS_DIR/ || return 1
28 mv $pkgdir/$_INST_DIR/README $pkgdir/$_DOCS_DIR/ || return 1
29 mv $pkgdir/$_INST_DIR/LICENSE $pkgdir/$_DOCS_DIR/ || return 1
30 mv $pkgdir/$_INST_DIR/FAQS $pkgdir/$_DOCS_DIR/ || return 1
31 mv $pkgdir/$_INST_DIR/INSTALL $pkgdir/$_DOCS_DIR/ || return 1
32 mv $pkgdir/$_INST_DIR/INSTALL.quick $pkgdir/$_DOCS_DIR/ || return 1
35 chown -R 33:33 $pkgdir/$_INST_DIR || return 1
36 chmod -R u=rwX,go=rX $pkgdir/$_INST_DIR || return 1
37 chown -R 0:0 $pkgdir/$_DOCS_DIR || return 1
38 chmod -R 555 $pkgdir/$_DOCS_DIR || return 1
39 chmod -R 444 $pkgdir/$_DOCS_DIR/* || return 1
42 # vim:set ts=2 sw=2 et: