summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaustubh Banerjee2019-01-13 15:49:58 +0530
committerKaustubh Banerjee2019-01-13 15:49:58 +0530
commit73444ba8555502c2f90f972398ab09dfd3d73400 (patch)
treeaf2f6c698a988c0715a32e43841f097a99734f17
parent4c69f7e675ccbc951e41dbe54773c9d6ca65ec6b (diff)
downloadaur-73444ba8555502c2f90f972398ab09dfd3d73400.tar.gz
added icon
-rw-r--r--PKGBUILD9
-rw-r--r--polar-bookshelf.svg172
2 files changed, 178 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index bb6e801a8433..c1121eb91cc8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,18 @@
# Maintainer: kausban <mail at kausban com>
pkgname=polar-bookshelf-bin
pkgver=1.8.0
-pkgrel=1
+pkgrel=2
pkgdesc="Polar Bookshelf"
arch=('x86_64')
url="https://github.com/burtonator/polar-bookshelf"
license=('GPL3')
depends=('gtk3' 'libxss' 'nss')
source_x86_64=("https://github.com/burtonator/polar-bookshelf/releases/download/v"$pkgver"/polar-bookshelf-"$pkgver"-x64.tar.gz"
-"polar-bookshelf.desktop")
+"polar-bookshelf.desktop"
+"polar-bookshelf.svg")
sha512sums_x86_64=('a329a36c224357ad1983e3b98d94862f93010ce65ce2cfacc71fdb931a12cf6000df8f12ce51a987e7d6d8058014b236b16be8ae707a93357051fe50af4c2a90'
- '245196d23eb0c724bba1ba09e8234cc8dfdd230fcd02e8083c84d65d4721886977a111e19511d5afee9b8b61458ab851e6263dad31be9bbe0f4f5a3607f00690')
+ '245196d23eb0c724bba1ba09e8234cc8dfdd230fcd02e8083c84d65d4721886977a111e19511d5afee9b8b61458ab851e6263dad31be9bbe0f4f5a3607f00690'
+ '2f1c91308fa6fc30496501894f5c9454799e26437000843f00cf0ab4b94713a1500a734c0f5590f86dae8bab7e34107670571ea2fde18981669a17ede61d1829')
package(){
# place files
@@ -22,6 +24,7 @@ package(){
ln -s "/usr/lib/polar-bookshelf/polar-bookshelf" "${pkgdir}/usr/bin/polar-bookshelf"
# desktop entry and icons
+ install -Dm644 "${srcdir}/polar-bookshelf.svg" "$pkgdir/usr/share/pixmaps/polar-bookshelf.svg"
desktop-file-install -m 644 --dir "${pkgdir}/usr/share/applications/" "${srcdir}/polar-bookshelf.desktop"
# Place license files
diff --git a/polar-bookshelf.svg b/polar-bookshelf.svg
new file mode 100644
index 000000000000..b7ee6c579f20
--- /dev/null
+++ b/polar-bookshelf.svg
@@ -0,0 +1,172 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ viewBox="0 0 512.438 512.438" style="enable-background:new 0 0 512.438 512.438;" xml:space="preserve">
+<g>
+ <g>
+ <path style="fill:#FF4F19;" d="M424,116.219h-40c-4.418,0-8,3.582-8,8v216h56v-216C432,119.801,428.418,116.219,424,116.219z"/>
+ </g>
+ <g>
+ <path style="fill:#E3001E;" d="M404,116.219h-20c-4.418,0-8,3.582-8,8v216h28V116.219z"/>
+ </g>
+ <g>
+ <path style="fill:#E3001E;" d="M168.219,84.219H120c-4.418,0-8,3.582-8,8v248h64.219v-248
+ C176.219,87.801,172.637,84.219,168.219,84.219z"/>
+ </g>
+ <g>
+ <path style="fill:#FF4F19;" d="M168.219,84.219H144v256h32.219v-248C176.219,87.801,172.637,84.219,168.219,84.219z"/>
+ </g>
+ <g>
+ <g>
+ <path style="fill:#868491;" d="M80,452.219c-2.977,0-5.781-1.668-7.156-4.422l-40-80c-1.977-3.953-0.375-8.758,3.578-10.734
+ c3.945-1.969,8.758-0.375,10.734,3.578L72,410.332v-46.113c0-4.418,3.578-8,8-8s8,3.582,8,8v80c0,3.711-2.555,6.934-6.164,7.785
+ C81.227,452.149,80.609,452.219,80,452.219z"/>
+ </g>
+ </g>
+ <g>
+ <g>
+ <path style="fill:#868491;" d="M432.219,452.219c-0.609,0-1.227-0.07-1.836-0.215c-3.609-0.852-6.164-4.074-6.164-7.785v-80
+ c0-4.418,3.578-8,8-8s8,3.582,8,8v46.113l24.844-49.691c1.984-3.953,6.781-5.547,10.734-3.578
+ c3.953,1.977,5.555,6.781,3.578,10.734l-40,80C438,450.551,435.195,452.219,432.219,452.219z"/>
+ </g>
+ </g>
+ <g>
+ <path style="fill:#5D647F;" d="M248,84.219h-16c-4.418,0-8,3.582-8,8v248h32v-248C256,87.801,252.418,84.219,248,84.219z"/>
+ </g>
+ <g>
+ <path style="fill:#4BB9EC;" d="M368,84.219h-16c-4.418,0-8,3.582-8,8v248h32v-248C376,87.801,372.418,84.219,368,84.219z"/>
+ </g>
+ <g>
+ <path style="fill:#FF9100;" d="M104,108.219H88c-4.418,0-8,3.582-8,8v223.125c0,0.483,0.392,0.875,0.875,0.875H112v-224
+ C112,111.801,108.418,108.219,104,108.219z"/>
+ </g>
+ <g>
+ <path style="fill:#00C37A;" d="M72,132.219H48c-4.418,0-8,3.582-8,8v200h40v-200C80,135.801,76.418,132.219,72,132.219z"/>
+ </g>
+ <g>
+ <path style="fill:#5D647F;" d="M464,100.219h-24c-4.418,0-8,3.582-8,8v232h40v-232C472,103.801,468.418,100.219,464,100.219z"/>
+ </g>
+ <g>
+ <path style="fill:#FF9100;" d="M336,60.219h-40c-4.418,0-8,3.582-8,8v272h56v-272C344,63.801,340.418,60.219,336,60.219z"/>
+ </g>
+ <g>
+ <path style="fill:#00C37A;" d="M280,116.219h-16c-4.418,0-8,3.582-8,8v216h32v-216C288,119.801,284.418,116.219,280,116.219z"/>
+ </g>
+ <g>
+ <path style="fill:#4BB9EC;" d="M216,100.219h-32c-4.418,0-8,3.582-8,8v232h48v-232C224,103.801,220.418,100.219,216,100.219z"/>
+ </g>
+ <g>
+ <path style="fill:#E6BE8A;" d="M504.438,372.219H8c-4.418,0-8-3.582-8-8v-16c0-4.418,3.582-8,8-8h496.438c4.418,0,8,3.582,8,8v16
+ C512.438,368.637,508.856,372.219,504.438,372.219z"/>
+ </g>
+ <g>
+ <rect x="112" y="108.219" style="fill:#5D647F;" width="32" height="16"/>
+ </g>
+ <g>
+ <rect x="144" y="108.219" style="fill:#868491;" width="32" height="16"/>
+ </g>
+ <g>
+ <rect x="112" y="300.219" style="fill:#5D647F;" width="32" height="16"/>
+ </g>
+ <g>
+ <rect x="144" y="300.219" style="fill:#868491;" width="32" height="16"/>
+ </g>
+ <g>
+ <g>
+ <rect x="272.219" y="140.219" style="fill:#00A077;" width="16" height="16"/>
+ </g>
+ </g>
+ <g>
+ <g>
+ <rect x="272.219" y="292.219" style="fill:#00A077;" width="16" height="16"/>
+ </g>
+ </g>
+ <g>
+ <g>
+ <rect x="376" y="140.219" style="fill:#FF9100;" width="28" height="16"/>
+ </g>
+ </g>
+ <g>
+ <g>
+ <rect x="376" y="292.219" style="fill:#FF9100;" width="28" height="16"/>
+ </g>
+ </g>
+ <g>
+ <g>
+ <rect x="404" y="140.219" style="fill:#FFCD00;" width="28" height="16"/>
+ </g>
+ </g>
+ <g>
+ <g>
+ <rect x="404" y="292.219" style="fill:#FFCD00;" width="28" height="16"/>
+ </g>
+ </g>
+ <g>
+ <path style="fill:#009BCA;" d="M176,108.219v232h24v-240h-16C179.582,100.219,176,103.801,176,108.219z"/>
+ </g>
+ <g>
+ <path style="fill:#FF4F19;" d="M80,340.219h16v-232h-8c-4.418,0-8,3.582-8,8V340.219z"/>
+ </g>
+ <g>
+ <path style="fill:#00A077;" d="M40,340.219h20v-208H46.998c-3.865,0-6.998,3.133-6.998,6.998V340.219z"/>
+ </g>
+ <g>
+ <path style="fill:#5C546A;" d="M224,340.219h16v-256h-8c-4.418,0-8,3.582-8,8V340.219z"/>
+ </g>
+ <g>
+ <path style="fill:#00A077;" d="M256,340.219h16v-224h-8c-4.418,0-8,3.582-8,8V340.219z"/>
+ </g>
+ <g>
+ <g>
+ <rect x="256" y="140.219" style="fill:#5D647F;" width="16" height="16"/>
+ </g>
+ </g>
+ <g>
+ <g>
+ <rect x="256" y="292.219" style="fill:#5D647F;" width="16" height="16"/>
+ </g>
+ </g>
+ <g>
+ <path style="fill:#FF4F19;" d="M288,340.219h28v-280h-20c-4.418,0-8,3.582-8,8V340.219z"/>
+ </g>
+ <g>
+ <path style="fill:#009BCA;" d="M360,84.219h-8c-4.418,0-8,3.582-8,8v248h16V84.219z"/>
+ </g>
+ <g>
+ <path style="fill:#5C546A;" d="M452.22,100.219H440c-4.418,0-8,3.582-8,8v232h20.22V100.219z"/>
+ </g>
+ <g>
+ <path style="fill:#C9A07C;" d="M0,356.219v8c0,4.418,3.582,8,8,8h496.438c4.418,0,8-3.582,8-8v-8H0z"/>
+ </g>
+</g>
+<g>
+</g>
+<g>
+</g>
+<g>
+</g>
+<g>
+</g>
+<g>
+</g>
+<g>
+</g>
+<g>
+</g>
+<g>
+</g>
+<g>
+</g>
+<g>
+</g>
+<g>
+</g>
+<g>
+</g>
+<g>
+</g>
+<g>
+</g>
+<g>
+</g>
+</svg>