1 # Maintainer: Techlive Zheng<techlivezheng [at] gmail [dot] com>
3 pkgdesc="A project founded to build a Multi Server Control and Administration Panel without limits."
7 url="http://isp-control.net/"
8 license=('MPL' 'LGPL' 'GPLv2')
48 'perl-crypt-passwdmd5'
52 'perl-datetime-timezone'
56 'perl-file-copy-recursive'
66 'perl-net-smtp-server'
68 'perl-term-read-password'
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')
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")
84 cd "$srcdir/$pkgname-$pkgver"
86 cp ../Makefile.arch . || return 1
88 if [ -d configs/arch ];then
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
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')