diff options
-rw-r--r-- | .SRCINFO | 29 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | LICENSE | 0 | ||||
-rw-r--r-- | PKGBUILD | 55 | ||||
-rw-r--r-- | zoho-mail-desktop | 2 |
5 files changed, 90 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c13efd1f388c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,29 @@ +pkgbase = zoho-mail-desktop + pkgdesc = A desktop version of your favorite mailsuite! + pkgver = 1.0.0 + pkgrel = 1 + url = https://www.zoho.com/mail + arch = x86_64 + arch = i686 + license = custom:"Copyright (c) 2018, Zoho Corporation Pvt. Ltd." + depends = nss + depends = libxtst + depends = alsa-lib + depends = libxss + depends = gtk2 + depends = gconf + provides = libnode + provides = libffmpeg + options = !strip + options = !upx + source = zoho-mail-desktop + source = LICENSE + sha256sums = e506b8a17f4b88243dfca6d76c9d1df408dad597eb52f233fb5290ff2c3d4bf9 + sha256sums = e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 + source_x86_64 = https://www.zoho.com/mail/desktop/linux/installer-x64-1.0.0.deb + sha256sums_x86_64 = 981bf5cfe72519a210793b4ac02d4beee40bfe651ac873c95b375a8429a37c88 + source_i686 = https://www.zoho.com/mail/desktop/linux/installer-x86-1.0.0.deb + sha256sums_i686 = 8f7c4477099b5bda4ecb74d78591c0a432d5311bd8dc5e379798812f7c1bb1c6 + +pkgname = zoho-mail-desktop + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..7861b8d0bffe --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +pkg/ +src/ +*.deb +*.pkg.tar* diff --git a/LICENSE b/LICENSE new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/LICENSE diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..338a4984615a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,55 @@ +# Maintainer: Emerson Almeida <duke.m16@gmail.com> +# Contributor: Emerson Almeida <duke.m16@gmail.com> + +pkgname=zoho-mail-desktop +pkgver=1.0.0 +pkgrel=1 +pkgdesc="A desktop version of your favorite mailsuite!" +arch=('x86_64' 'i686') +license=('custom:"Copyright (c) 2018, Zoho Corporation Pvt. Ltd."') +url="https://www.zoho.com/mail" +options=('!strip' '!upx') + +source=('zoho-mail-desktop' 'LICENSE') + +sha256sums=('e506b8a17f4b88243dfca6d76c9d1df408dad597eb52f233fb5290ff2c3d4bf9' + 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855') +sha256sums_x86_64=('981bf5cfe72519a210793b4ac02d4beee40bfe651ac873c95b375a8429a37c88') +sha256sums_i686=('8f7c4477099b5bda4ecb74d78591c0a432d5311bd8dc5e379798812f7c1bb1c6') + +source_x86_64=("https://www.zoho.com/mail/desktop/linux/installer-x64-${pkgver}.deb") +source_i686=("https://www.zoho.com/mail/desktop/linux/installer-x86-${pkgver}.deb") + +provides=( + 'libnode' + 'libffmpeg' +) + +depends=( + 'nss' + 'libxtst' + 'alsa-lib' + 'libxss' + 'gtk2' + 'gconf' +) + +package() { + cd "${srcdir}" + + tar -xf data.tar.xz -C "${pkgdir}" + + for size in 22 24 32 48 64 128 256 512; do + install -D "${pkgdir}/usr/share/pixmaps/zoho-mail-desktop.png" \ + "${pkgdir}/usr/share/icons/hicolor/${size}x${size}/apps/spotify.png" + done + + chmod -R go-w "${pkgdir}"/usr + + # Bin Script + rm "${pkgdir}"/usr/bin/zoho-mail-desktop + install -Dm755 "${srcdir}/zoho-mail-desktop" "${pkgdir}/usr/bin/zoho-mail-desktop" + + # License + install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} diff --git a/zoho-mail-desktop b/zoho-mail-desktop new file mode 100644 index 000000000000..d0675ee3801f --- /dev/null +++ b/zoho-mail-desktop @@ -0,0 +1,2 @@ +#!/bin/sh +/usr/share/zoho-mail-desktop/zoho-mail-desktop "$@" |