1 # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
2 # Contributor: Mark Rosenstand <mark@borkware.net>
7 pkgdesc="A Framework and Content Management System for building dynamic web sites"
9 url="http://www.jaws-project.com/"
10 license=('GPL' 'LGPL' 'BSD')
12 optdepends=('mysql: for MySQL support' \
13 'php-pgsql: for PostgreSQL support'\
14 'php-sqlite: for SQLite support' \
15 'gd: for Photo Organizer support' \
16 'imagemagick: for Photo Organizer support')
17 backup=(srv/http/$pkgname/.htaccess)
18 source=(http://bits.jaws-project.com/releases/$pkgname-$pkgver/$pkgname-complete-$pkgver.tar.gz)
19 md5sums=('87ec8f678e483a794dd268ca6aa0a592')
23 install -m755 -d "$pkgdir"/srv/http/$pkgname
25 mv html/data/{,.}htaccess
26 cp -r html/{*,.htaccess} "$pkgdir"/srv/http/$pkgname/
27 find "$pkgdir"/srv/http/$pkgname -type d -exec chmod 755 {} +
28 find "$pkgdir"/srv/http/$pkgname -type f -exec chmod 644 {} +
29 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
30 install -Dm644 NEW_BSD "$pkgdir"/usr/share/licenses/$pkgname/BSD_LICENSE