summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorChih-Hsuan Yen2019-01-31 19:55:22 +0800
committerChih-Hsuan Yen2019-01-31 19:55:22 +0800
commit77f803be11cab34f02762678de374fd7ee8f3a74 (patch)
tree5a4bb55d64ca0429ac3cb4303f6c41210b310bd7 /PKGBUILD
parent3db0f6a542455992fb4d465279f28977c4244bdc (diff)
downloadaur-77f803be11cab34f02762678de374fd7ee8f3a74.tar.gz
store the icon locally (closes #35)
The only known way for now is to download a zip and extract it. However, Dropbox may use different zip parameters for the same forlder as reported in [1], and thus this temporary workaround. zipinfo for two versions of the zip file: Archive: dropbox-svg.zip Zip file size: 502 bytes, number of entries: 2 drwx--- 2.0 fat 0 b- stor 17-Sep-14 18:46 / -rw-a-- 2.0 fat 605 bl defN 17-Jul-21 22:12 DropboxGlyph_Blue.svg 2 files, 605 bytes uncompressed, 268 bytes compressed: 55.7% Archive: dropbox-svg-old.zip Zip file size: 502 bytes, number of entries: 2 ?rwxr--r-- 2.0 unx 0 b- stor 17-Sep-14 18:46 / ?rwxr--r-- 2.0 unx 605 bl defN 17-Jul-21 22:12 DropboxGlyph_Blue.svg 2 files, 605 bytes uncompressed, 268 bytes compressed: 55.7% [1] https://gitlab.com/yan12125/aur/issues/35
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d41962e78e55..154deb828ba8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -19,13 +19,14 @@ optdepends=(
)
options=('!strip')
-# The SVG link is retrieved from https://www.dropbox.com/branding
-source=("dropbox-svg.zip"::"https://www.dropbox.com/scl/fo/0eu2dsn07fy5k0gt5fy74/AABelaoobzsW8ZKJ2u9vnINGa/Glyph/Dropbox/SVG?dl=1"
- "terms.txt" "dropbox.service" "dropbox@.service")
+# DropboxGlyph_Blue.svg is downloaded from https://www.dropbox.com/scl/fo/0eu2dsn07fy5k0gt5fy74/AABelaoobzsW8ZKJ2u9vnINGa/Glyph/Dropbox/SVG,
+# and this folder is retrieved from https://www.dropbox.com/branding
+# TODO: find a way to download the icon directly from dropbox.com
+source=("DropboxGlyph_Blue.svg" "terms.txt" "dropbox.service" "dropbox@.service")
source_i686=("https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86-$pkgver.tar.gz"{,.asc})
source_x86_64=("https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86_64-$pkgver.tar.gz"{,.asc})
-sha256sums=('e53a2e006f7bd0421fec0b2d0eb31e88ca59bad7c9f640c4b126d462e674c3ed'
+sha256sums=('9ba76205ec5838db85d822f23cfd7e2112fd2757e8031d8374709f102143c548'
'34605b2f36fe6b4bde9b858da3f73ac1505986af57be78bbb1c2c9cf1a611578'
'6c67a9c8c95c08fafafd2f1d828074b13e3347b05d2e4f4bf4e62746115d7477'
'98581e65a91ae1f19ed42edcdaaa52e102298b5da0d71b50089393d364474d3d')