summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5381a5b7965eb91ac850bf08fdf44f921380bc22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Carlos Pita <carlosjosepita@gmail.com>

pkgname=adapta-nokto-dropbox-icons
pkgver=20180702
pkgrel=1
pkgdesc="Dropbox PNG icons generated from Papirus Adapta Nokto SVG files"
arch=('any')
license=("LGPL3")
makedepends=('papirus-icon-theme' 'imagemagick')

package() {
    for size in 16x16 22x22 24x24; do
	from=/usr/share/icons/Papirus-Adapta-Nokto/$size/panel
	to=$pkgdir/usr/share/icons/hicolor/$size/status
	mkdir -p $to
	for icon in blank busy2 busy idle logo x; do
	    convert -background none $from/dropboxstatus-$icon.svg \
		                     $to/dropboxstatus-$icon.png
	done
    done
}