summaryrefslogblamecommitdiff
path: root/user/papirus-icons/APKBUILD
blob: 699b8238d2046856daa0c046c7abb9f5e8f03725 (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=20200602
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="c860efd6ab863cbeb7b5f0d3afb7e652bbd9daca9c5028b0c466d1930f7bacba137fce40220f858b2cff0ef575d1c9eb979d7ba1c79481d7dccdbd6a273953c0  papirus-icons-20200602.tar.gz"