diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-04-28 15:07:11 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-04-28 15:08:07 +0000 |
commit | 2f909b882e04b62efc306564821d6e67406ea2b2 (patch) | |
tree | 48a3d75536f0e8fc5fafd5c29b239543a6ba162f /main/roundcubemail/APKBUILD | |
parent | c7b4b21b7b4160c862e30f0705d2c44dcedffdd9 (diff) | |
download | aports-2f909b882e04b62efc306564821d6e67406ea2b2.tar.bz2 aports-2f909b882e04b62efc306564821d6e67406ea2b2.tar.xz |
main/roundcubemail: fix config/temp/log dirs and depends
fixes #605
Diffstat (limited to 'main/roundcubemail/APKBUILD')
-rw-r--r-- | main/roundcubemail/APKBUILD | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/main/roundcubemail/APKBUILD b/main/roundcubemail/APKBUILD index 8c9344f91..062ff16fd 100644 --- a/main/roundcubemail/APKBUILD +++ b/main/roundcubemail/APKBUILD @@ -1,21 +1,27 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=roundcubemail pkgver=0.5.2 -pkgrel=1 +pkgrel=2 pkgdesc="A PHP web-based mail client" url="http://www.roundcube.net" arch="noarch" license="GPL" install="$pkgname.post-upgrade" -depends="php php-imap php-xml php-json" +depends="php php-imap php-xml php-json php-dom" makedepends="" subpackages="$pkgname-installer" -source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz" +source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz + fix-dirs.patch" _src="$srcdir"/roundcubemail-$pkgver prepare() { cd "$_src" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done # fix permissions find . -type f -print | xargs chmod a-x @@ -28,10 +34,6 @@ prepare() { -e 's|logs/|/var/log/roundcube/|' \ config/main.inc.php.dist || return 1 - sed -i -e 's|logs/|/var/log/roundcube/|' \ - -e 's|config/|/etc/roundcube/|' \ - program/include/main.inc || return 1 - # cleanup sed -i 's/\r//' SQL/mssql.initial.sql rm -rf logs temp @@ -61,4 +63,5 @@ installer() { "$subpkgdir"/usr/share/webapps/roundcube } -md5sums="7451ee4b3fdc89300e37c6fa9cd0f7b7 roundcubemail-0.5.2.tar.gz" +md5sums="7451ee4b3fdc89300e37c6fa9cd0f7b7 roundcubemail-0.5.2.tar.gz +db71db7b5489ac2d0e8d80a0a8b993e0 fix-dirs.patch" |