summaryrefslogblamecommitdiff
path: root/user/papirus-icons/APKBUILD
blob: f506865a13d76c3a844526558e3a69fa9ae2695a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13


                                                  
               








                                         


                                                                                                                     


                      
                                                        























                                                                                
                                                                                                                                                                            
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=papirus-icons
pkgver=20180214
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"
source="$pkgname-$pkgver.tar.gz::https://github.com/PapirusDevelopmentTeam/papirus-icon-theme/archive/$pkgver.tar.gz"
builddir="$srcdir/papirus-icon-theme-$pkgver"

package() {
	cd "$builddir"
	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/
}

adapta() {
	pkgdesc="$pkgdesc (for Adapta theme)"
	mkdir -p "$subpkgdir"/usr/share/icons

	mv "$pkgdir"/usr/share/icons/Papirus-Adapta-* \
		"$subpkgdir"/usr/share/icons/
}

sha512sums="e3cff11cb4e0ad71ff5c44da9ef5135ce7fc2f4bea5e95f4c42963868ef7fce19daf45bc7f5649186bbedeb683d8a56a48f859cda17acacad7c3fbf35fdcd291  papirus-icons-20180214.tar.gz"