summaryrefslogblamecommitdiff
path: root/user/papirus-icons/APKBUILD
blob: 761ce14e655b71f94d20328daca7c4c3ad0984e5 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                  
               



                                         
                             
                  

              
                                                             

                                                                                                                     

           
                                                        















                                                                                

                          

                                             
                                                                           

 
                                                                                                                                                                            
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=papirus-icons
pkgver=20200702
pkgrel=0
pkgdesc="Material, flat style icon theme"
url="https://store.kde.org/p/1166289/"
arch="noarch"
options="!check"  # Icon set.
license="LGPL-3.0"
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="ff2aa30bb70361f2952be203b3e3d00aae248726b5413a3a8e9ad7d6e7d0759e9bfd156cc65520175aba0e5436e9e58453ae0058d7d639d5c9a818e7f158761c  papirus-icons-20200702.tar.gz"