summaryrefslogtreecommitdiffstats
path: root/main/roundcubemail
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2012-08-08 09:16:43 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2012-08-08 09:22:05 +0000
commit4578680c002b1751c783b9c22aecdb049174a469 (patch)
tree69835fd47bc24229b7d924834fde950c525932ab /main/roundcubemail
parentd1bcb85216be9c61a714ff7fb33d780fa6944a72 (diff)
downloadaports-4578680c002b1751c783b9c22aecdb049174a469.tar.bz2
aports-4578680c002b1751c783b9c22aecdb049174a469.tar.xz
main/roundcubemail: need php-exif. Created doc
subpackage. Post-upgrade msg updated
Diffstat (limited to 'main/roundcubemail')
-rw-r--r--main/roundcubemail/APKBUILD18
-rw-r--r--main/roundcubemail/roundcubemail.post-upgrade4
2 files changed, 16 insertions, 6 deletions
diff --git a/main/roundcubemail/APKBUILD b/main/roundcubemail/APKBUILD
index f6531a36a..e3bf12c97 100644
--- a/main/roundcubemail/APKBUILD
+++ b/main/roundcubemail/APKBUILD
@@ -1,15 +1,16 @@
+# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=roundcubemail
pkgver=0.8.0
-pkgrel=0
+pkgrel=1
pkgdesc="A PHP web-based mail client"
url="http://www.roundcube.net"
arch="noarch"
-license="GPL"
+license="GPL3+"
install="$pkgname.post-upgrade"
-depends="php php-imap php-xml php-json php-dom"
+depends="php php-imap php-xml php-json php-dom php-exif"
makedepends=""
-subpackages="$pkgname-installer"
+subpackages="$pkgname-installer $pkgname-doc"
source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz
fix-dirs.patch"
@@ -54,6 +55,15 @@ package() {
mv config "$pkgdir"/etc/roundcube
install -d "$pkgdir"/var/log/roundcube
+ mkdir -p "$pkgdir"/usr/share/doc/roundcube
+ mkdir -p "$pkgdir"/usr/share/licenses/roundcube
+ for file in CHANGELOG INSTALL README.md UPGRADING
+ do
+ mv "$pkgdir"/usr/share/webapps/roundcube/$file \
+ "$pkgdir"/usr/share/doc/roundcube || exit 1
+ done
+ mv "$pkgdir"/usr/share/webapps/roundcube/LICENSE \
+ "$pkgdir"/usr/share/licenses/roundcube || exit 1
}
installer() {
diff --git a/main/roundcubemail/roundcubemail.post-upgrade b/main/roundcubemail/roundcubemail.post-upgrade
index 2f49d6cc7..a6282906a 100644
--- a/main/roundcubemail/roundcubemail.post-upgrade
+++ b/main/roundcubemail/roundcubemail.post-upgrade
@@ -41,7 +41,7 @@ fi
# display info about upgrade
echo "*" >&2
-echo "* Please remember to manually update your database schema:" >&2
+echo -e "* Please read /usr/share/doc/roundcube/UPGRADE\n\
+* in roundcubemail-doc package for schema or config update" >&2
echo "*" >&2
-ls /usr/share/webapps/roundcube/SQL/*.up*.* >&2
exit 0