summaryrefslogtreecommitdiff
path: root/user/papirus-icons/APKBUILD
blob: 3e0bab2843c8c45ec46a51b2752e11c2fd27a1f8 (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
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=papirus-icons
pkgver=20190919
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=""
subpackages="$pkgname-light $pkgname-dark e$pkgname:epapirus"
source="$pkgname-$pkgver.tar.gz::https://github.com/PapirusDevelopmentTeam/papirus-icon-theme/archive/$pkgver.tar.gz"
builddir="$srcdir/papirus-icon-theme-$pkgver"

package() {
	make IGNORE="ePapirus" DESTDIR="$pkgdir" install
}

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/
}

epapirus() {
	pkgdesc="$pkgdesc"
	mkdir -p "$subpkgdir"/usr/share/icons

	mv "$pkgdir"/usr/share/icons/ePapirus "$subpkgdir"/usr/share/icons/
}

sha512sums="183765db87863f46d5036ea020ef5f4da5f74b6b519bdf9409f95e904209ba308abf46af29d5d8e86a1abe95e18975bd9114cfc929cd4620a9cef49e6a5c939b  papirus-icons-20190919.tar.gz"