summaryrefslogblamecommitdiff
path: root/user/papirus-icons/APKBUILD
blob: 6dff3c80d1b31c4ec84b0be8da1c8e187a053ff9 (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=20200201
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="07ed45eb409ed12f57657f058f9a5a03dec77679ed598dc8645536a614ecc5424c60be57f10de20ca72204d2a21152fdd62adadf2637bbfa1266d588c787d7e9  papirus-icons-20200201.tar.gz"