From f309b140ee3e458fa705cc7851960fc3a88181f1 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 15 Oct 2017 07:12:12 -0500 Subject: user/papirus-icons: new package --- user/papirus-icons/APKBUILD | 60 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 user/papirus-icons/APKBUILD (limited to 'user/papirus-icons/APKBUILD') 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 +# Maintainer: A. Wilcox +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" -- cgit v1.2.3-70-g09d2