updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / ispcp-omega / PKGBUILD
blobdc8b410d862d6054f0a7259fd71aae0e56459993
1 # Maintainer: Techlive Zheng<techlivezheng [at] gmail [dot] com>
2 pkgname=ispcp-omega
3 pkgdesc="A project founded to build a Multi Server Control and Administration Panel without limits."
4 pkgver=1.0.7
5 pkgrel=1
6 arch=('i686' 'x86_64')
7 url="http://isp-control.net/"
8 license=('MPL' 'LGPL' 'GPLv2')
9 groups=()
10 depends=(
11         'xz'
12         'lynx'
13         'ispell'
14         'net-snmp'
15         'net-tools'
16         'bind>=9'
17         'apache'
18         'openssh'
19         'awstats'
20         'postfix'
21         'proftpd'
22         'postgrey'
23         'procmail'
24         'dnsutils'
25         'rkhunter'
26         'iptables'
27         'cyrus-sasl'
28         'chkrootkit'
29 #       'policy-weight'
30         'courier-imap'
31         'courier-authlib'
32         'libsasl>=2'
33         'libmcrypt'
34         'libmysqlclient'
35         'php'
36         'php-gd'
37         'php-cgi'
38         'php-pear'
39         'php-mcrypt'
40         'mod_fcgid'
41         'mod_fastcgi'
42         'mysql'
43         'mysql-clients'
44         'perl'
45         'perl-berkeleydb'
46         'perl-crypt-cbc'
47         'perl-crypt-blowfish'
48         'perl-crypt-passwdmd5'
49         'perl-date-calc'
50         'perl-date-manip'
51         'perl-datetime'
52         'perl-datetime-timezone'
53         'perl-dbd-mysql'
54         'perl-dbi'
55         'perl-digest-md5'
56         'perl-file-copy-recursive'
57         'perl-file-mimeinfo'
58         'perl-html-parser'
59         'perl-io-stringy'
60         'perl-mail-sendmail'
61         'perl-mailtools'
62         'perl-mime-tools'
63         'perl-net-dns'
64         'perl-net-libidn'
65         'perl-net-netmask'
66         'perl-net-smtp-server'
67         'perl-term-readkey'
68         'perl-term-read-password'
69         'perl-timedate'
70         )
71 optdepends=()
72 makedepends=()
73 provides=()
74 replaces=()
75 conflicts=()
76 backup=('etc/ispcp/ispcp.conf' 'srv/http/ispcp/engine/ispcp-db-keys.pl' 'srv/http/ispcp/engine/messenger/ispcp-db-keys.pl' 'srv/http/ispcp/gui/include/ispcp-db-keys.php')
77 options=()
78 install=${pkgname}.install
79 source=("ispcp-omega-${pkgver}.tar.bz2::http://sourceforge.net/project/downloading.php?group_id=189485&filename=ispcp-omega-${pkgver}.tar.bz2" "config.arch.tar.gz" "Makefile.arch")
80 noextract=("config.arch.tar.gz")
81 changelog=Changelog
83 build() {
84   cd "$srcdir/$pkgname-$pkgver"
86   cp ../Makefile.arch . || return 1
88   if [ -d configs/arch ];then
89     rm -rf configs/arch
90   fi
92   tar zxf ../config.arch.tar.gz -C configs/ || return 1
94   mkdir -p configs/common/pma/parts
96   sed -i "s:error.png:error:g" gui/reseller/users.php gui/include/admin-functions.php
97   sed -i "s:reload.png:reload:g" gui/reseller/users.php gui/include/admin-functions.php
99   find . -name Makefile -print | xargs sed -i "s:/usr/bin/install:/bin/install:g" || return 1
102 package() {
103   cd "$srcdir/$pkgname-$pkgver"
105   make -f Makefile.arch INST_PREF="$pkgdir" install || return 1
107   find "$pkgdir" -type f -name empty-file -delete || return 1
110 md5sums=('dfebf84b49d59ef46c3b5710811ec772'
111          '1c9dfa95f8ffe4db8f9361cd47364cbf'
112          'd1ab43d000113e223d6c04ccd8f1e856')