blob: e64363cfaaff42535aec74fbeaaa81540c528469 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=papirus-icons
pkgver=20171007
pkgrel=0
pkgdesc="Material, flat style icon theme"
url="https://store.kde.org/p/1166289/"
arch="noarch"
license="LGPL-3.0"
options="!check" # Icon set.
depends=""
makedepends=""
install=""
subpackages="$pkgname-light $pkgname-dark $pkgname-adapta e$pkgname:elementary"
source="https://dl.opendesktop.org/api/files/download/id/1507885652/papirus-icon-theme-$pkgver.tar.gz"
builddir="$srcdir"
build() {
cd "$builddir"
}
package() {
cd "$builddir"
mkdir -p "$pkgdir"/usr/share/icons
for iconset in Papirus Papirus-Adapta Papirus-Adapta-Nokto Papirus-Dark \
Papirus-Light ePapirus; do
mv "$builddir"/$iconset "$pkgdir"/usr/share/icons/
done
}
light() {
pkgdesc="$pkgdesc (Light icons)"
mkdir -p "$subpkgdir"/usr/share/icons
mv "$pkgdir"/usr/share/icons/Papirus-Light "$subpkgdir"/usr/share/icons/
}
dark() {
pkgdesc="$pkgdesc (Dark icons)"
mkdir -p "$subpkgdir"/usr/share/icons
mv "$pkgdir"/usr/share/icons/Papirus-Dark "$subpkgdir"/usr/share/icons/
}
adapta() {
pkgdesc="$pkgdesc (for Adapta theme)"
mkdir -p "$subpkgdir"/usr/share/icons
mv "$pkgdir"/usr/share/icons/Papirus-Adapta-* \
"$subpkgdir"/usr/share/icons/
}
elementary() {
pkgdesc="$pkgdesc (elementaryOS style)"
mkdir -p "$subpkgdir"/usr/share/icons
mv "$pkgdir"/usr/share/icons/ePapirus "$subpkgdir"/usr/share/icons/
}
sha512sums="82830fa69cbc5113728c3b390bbe3e4cbb270cdd6d386951efdc23c7495aa187b330954ccbaa67103e8f15c0e1367ad4198c2cbd2fcba01ed044bb490bf9e4c6 papirus-icon-theme-20171007.tar.gz"
|