blob: e1ce782a544b87a813bee3b9d27afd23aaf419c2 (
plain)
1 # Description: A webmail package written in PHP
2 # URL: http://www.squirrelmail.org
3 # Maintainer: Mikhail Kolesnik, mike at openbunker dot org
4 # Depends on: apache mod_php
5
6 name=squirrelmail
7 version=1.4.10a
8 release=1
9 source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.bz2)
10
11 build() {
12 if [[ -z $SQM_HTDOCS_ROOT ]]; then
13 SQM_HTDOCS_ROOT="var/www/htdocs"
14 fi
15 cd $name-$version
16 mkdir -p $PKG/$SQM_HTDOCS_ROOT/squirrelmail
17 cp -r {class,config,data,functions,help,images,include,locale,plugins,po,src,themes} $PKG/$SQM_HTDOCS_ROOT/squirrelmail
18 cp index.php $PKG/$SQM_HTDOCS_ROOT/squirrelmail/
19 rm $PKG/$SQM_HTDOCS_ROOT/squirrelmail/locale/README.locales
20 rm $PKG/$SQM_HTDOCS_ROOT/squirrelmail/themes/README.themes
21 find $PKG/$SQM_HTDOCS_ROOT/squirrelmail/plugins -name "INSTALL" -o -name "README*" -o -name "ChangeLog" | xargs rm
22 }
|