diff options
Diffstat (limited to 'user/papirus-icons/APKBUILD')
-rw-r--r-- | user/papirus-icons/APKBUILD | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/user/papirus-icons/APKBUILD b/user/papirus-icons/APKBUILD new file mode 100644 index 000000000..e64363cfa --- /dev/null +++ b/user/papirus-icons/APKBUILD @@ -0,0 +1,60 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=papirus-icons +pkgver=20171007 +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 e$pkgname:elementary" +source="https://dl.opendesktop.org/api/files/download/id/1507885652/papirus-icon-theme-$pkgver.tar.gz" +builddir="$srcdir" + +build() { + cd "$builddir" +} + +package() { + cd "$builddir" + mkdir -p "$pkgdir"/usr/share/icons + + for iconset in Papirus Papirus-Adapta Papirus-Adapta-Nokto Papirus-Dark \ + Papirus-Light ePapirus; do + mv "$builddir"/$iconset "$pkgdir"/usr/share/icons/ + done +} + +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/ +} + +elementary() { + pkgdesc="$pkgdesc (elementaryOS style)" + mkdir -p "$subpkgdir"/usr/share/icons + mv "$pkgdir"/usr/share/icons/ePapirus "$subpkgdir"/usr/share/icons/ +} + +sha512sums="82830fa69cbc5113728c3b390bbe3e4cbb270cdd6d386951efdc23c7495aa187b330954ccbaa67103e8f15c0e1367ad4198c2cbd2fcba01ed044bb490bf9e4c6 papirus-icon-theme-20171007.tar.gz" |