aboutsummaryrefslogtreecommitdiffstats
path: root/main/roundcubemail/APKBUILD
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/APKBUILD
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/APKBUILD')
-rw-r--r--main/roundcubemail/APKBUILD18
1 files changed, 14 insertions, 4 deletions
diff --git a/main/roundcubemail/APKBUILD b/main/roundcubemail/APKBUILD
index f6531a36a3..e3bf12c978 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() {