Last active
March 13, 2017 06:48
-
-
Save rjmcguire/c1fd7cde55ffd18f17c3af61cc66c4a2 to your computer and use it in GitHub Desktop.
striata-reader
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- /tmp/makepkg/striata-reader/src/striata-reader/usr/share/striata-reader/striata-keymail.desktop 2016-12-15 11:16:26.000000000 +0200 | |
+++ /tmp/makepkg/striata-reader/src/striata-reader/usr/share/striata-reader/striata-keymail-new.desktop 2017-03-10 12:02:35.861645272 +0200 | |
@@ -1,5 +1,4 @@ | |
[Desktop Entry] | |
-Value=1.0 | |
Type=Application | |
Name=Striata Reader | |
Comment=Used for opening Striata EMC documents |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Striata Reader End User Agreement <https://reader.striata.com/user-agreement.html> | |
This Agreement: | |
This Agreement between Striata and the end user covers all your use of the Striata Reader from any terminals where the Striata Reader has been installed, by the end user or by third parties. You accept this Agreement by installing the Striata Reader. | |
License: | |
Subject to the terms of this Agreement, Striata hereby grants you a limited, personal, non-commercial, non-exclusive, non-sub licensable, non-assignable, and free of charge license to download, install and use the Striata Reader on your computer for the sole purpose of personally using the Striata Reader to access your encrypted content. | |
No Granting of Rights to Third Parties: | |
You will not sell, assign, rent, lease, export, import, act as an intermediary or provider, or otherwise grant rights to third parties with regard to the Striata Software or any part thereof. | |
No Modifications: | |
You will not undertake, cause, permit or authorize the modification, creation of derivative works, translation, reverse engineering, decompiling, disassembling or hacking of the Striata Reader or any part thereof except to the extent permitted by law. | |
Exclusive Ownership: | |
Any and all IP Rights in the Striata Reader are and shall remain the exclusive property of Striata and/or its licensors. Nothing in this Agreement intends to transfer any such IP Rights to, or to vest any such IP Rights in, you. You are only entitled to the limited use of the IP Rights granted to you in this Agreement. You will not take any action to jeopardize, limit or interfere with Striata.s IP Rights. Any unauthorized use of Striata.s IP Rights is a violation of this Agreement as well as a violation of intellectual property laws and treaties, including without limitation copyright laws and trademark laws. All title and IP Rights in and to any third party content that is not contained in the Striata Reader, but may be accessed through use of the Striata Reader, is the property of the respective content owners and may be protected by applicable copyright or other intellectual property laws and treaties. | |
No Removal of Notices: | |
You agree that you will not remove, obscure, make illegible or alter any notices or indications of the IP Rights and/or Striata.s rights and ownership thereof, whether such notice or indications are affixed on, contained in or otherwise connected to any materials. | |
Content of Communications: | |
The content of the communication spread by the use of the Striata Reader is entirely the responsibility of the person from whom such content originated. You understand, therefore, that by using the Striata Reader You may be exposed to content that is offensive, harmful to minors, indecent or otherwise objectionable, and that You use the Striata Reader at Your own risk. | |
No Warranties: | |
THE STRIATA READER IS PROVIDED .AS IS. WITH NO WARRANTIES WHATSOEVER; STRIATA DOES NOT, EITHER EXPRESSED, IMPLIED OR STATUTORY, MAKE ANY WARRANTIES, CLAIMS OR REPRESENTATIONS WITH RESPECT TO THE STRIATA READER, INCLUDING, WITHOUT LIMITATION, WARRANTIES OR CONDITIONS OF QUALITY, PERFORMANCE, NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR USE FOR A PARTICULAR PURPOSE. STRIATA FURTHER DOES NOT REPRESENT OR WARRANT THAT THE STRIATA READER WILL ALWAYS BE AVAILABLE, ACCESSIBLE, UNINTERRUPTED, TIMELY, SECURE, ACCURATE, COMPLETE AND ERROR-FREE. | |
Your own Risk: | |
You acknowledge and agree that the entire risk arising out of your use of the Striata Software remains with you, to the maximum extent permitted by law. | |
No Liability: | |
the Striata Reader is being provided to you free of charge. ACCORDINGLY, YOU ACKNOWLEDGE AND AGREE THAT STRIATA, ITS AFFILIATES, ITS LICENSORS AND THE STRIATA STAFF WILL HAVE NO LIABILITY IN CONNECTION WITH OR ARISING FROM YOUR USE OF THE STRIATA READER, AS SET FORTH BELOW. YOUR ONLY RIGHT OR REMEDY WITH RESPECT TO ANY PROBLEMS OR DISSATISFACTION WITH THE STRIATA READER IS TO IMMEDIATELY UNINSTALL AND CEASE USE OF THE STRIATA READER. | |
Limitation of Liability: | |
IN NO EVENT SHALL STRIATA, ITS AFFILIATES, ITS LICENSORS NOR THE STRIATA STAFF BE LIABLE, WHETHER IN CONTRACT, WARRANTY, TORT (INCLUDING NEGLIGENCE), PRODUCT LIABILITY OR ANY OTHER FORM OF LIABILITY, FOR:ANY INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION ANY LOSS OF OR CORRUPTION TO DATA, INTERRUPTION, COMPUTER FAILURE OR PECUNIARY LOSS) ARISING OUT OF THE USE OR INABILITY TO USE THE STRIATA READER; AND ANY LOSS OF INCOME, BUSINESS OR PROFITS (WHETHER DIRECT OR INDIRECT) ARISING OUT OF THE USE OR INABILITY TO USE THE STRIATA READER; | |
ANY LOSS OR DAMAGE WHICH MAY BE INCURRED BY YOU AS A RESULT OF; ANY DISRUPTIONS OR DELAYS IN ANY COMMUNICATION WHEN USING THE STRIATA READER; | |
THE SUSPENSION OR TERMINATION OF THIS AGREEMENT BY YOU OR BY STRIATA FOR ANY REASON; AND THE RELEASE OR THE DECISION NOT TO RELEASE NEW VERSIONS OF THE STRIATA READER TO YOU. | |
THE LIMITATIONS ON STRIATA.S LIABILITY TO YOU ABOVE SHALL APPLY WHETHER OR NOT STRIATA, ITS AFFILIATES OR THE STRIATA STAFF HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSSES OR DAMAGES ARISING. | |
NOTHING IN THIS AGREEMENT IS INTENDED TO EXCLUDE OR RESTRICT OR SHALL BE CONSTRUED AS EXCLUDING OR RESTRICTING THE LIABILITY OF STRIATA FOR (I) THE DEATH OR PERSONAL INJURY CAUSED BY THE NEGLIGENCE OF STRIATA, THE STRIATA STAFF OR ITS AGENTS, OR (II) ANY LIABILITY WHICH CANNOT BE LIMITED OR EXCLUDED BY LAW. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Rory McGuire <[email protected]> | |
# Contributor: Deon Spengler <[email protected]> | |
pkgname=striata-reader | |
pkgver=2.23_2 | |
pkgrel=1 | |
pkgdesc="Reader for encrypted email attachments" | |
url="https://reader.striata.com/download.php?version=linux" | |
arch=('i686' 'x86_64') | |
license=('custom') | |
depends=('pygtk') | |
makedepends=('desktop-file-utils') | |
provides=('striata') | |
source_i686=("https://reader.striata.com/downloads/Linux/${pkgname}-${pkgver//_/-}.tar.gz") | |
sha256sums_i686=('SKIP') | |
source_x86_64=("https://reader.striata.com/downloads/Linux/${pkgname}-${pkgver//_/-}-amd64.tar.gz") | |
#https://reader.striata.com/downloads/Linux/striata-reader-2.232-amd64.tar.gz | |
sha256sums_x86_64=('SKIP') | |
source=( | |
"desktop-patch.txt" | |
"LICENSE" | |
) | |
sha256sums=( | |
'fd5aa462140e6363b9074cf754b3ecb6ed00bef6ad72ed5b33baa8ad30c756e6' | |
'e7e7b48d6a085aa1c48a5dd985c6087bec0c803827b44a883d68f6a73c8a4fec') | |
_reader_dir='/usr/share/striata-reader' | |
build() { | |
# remove install files | |
rm -r "${srcdir}/striata-reader/usr/share/striata-reader/install" | |
# check desktop file | |
patch "${srcdir}/striata-reader${_reader_dir}/striata-keymail.desktop" "${srcdir}/desktop-patch.txt" | |
desktop-file-validate "${srcdir}/striata-reader${_reader_dir}/striata-keymail.desktop" | |
sed -i -e 's|^\(#!.*python\)$|\12|g' "${srcdir}/striata-reader/usr/bin/striata-reader-gui.py" | |
} | |
package() { | |
cp -r "${srcdir}/striata-reader/usr" "${pkgdir}/usr" | |
mkdir -p "${pkgdir}/usr/share/licenses/striata-reader" | |
cp LICENSE "${pkgdir}/usr/share/licenses/striata-reader" | |
mkdir -p "${pkgdir}/usr/share/applications" | |
mv "${pkgdir}/usr/share/striata-reader/striata-keymail.desktop" "${pkgdir}/usr/share/applications/" | |
find "${pkgdir}" -type d | xargs chmod 0755 | |
find "${pkgdir}" -type f | xargs chmod 0644 | |
chmod 0755 "${pkgdir}/usr/bin/"* | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment