summaryrefslogtreecommitdiff
path: root/user/papirus-icons/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-10-15 07:12:12 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2017-10-15 07:12:12 -0500
commitf309b140ee3e458fa705cc7851960fc3a88181f1 (patch)
tree69f68678f718e31a979e16f90323f3aec832ab57 /user/papirus-icons/APKBUILD
parent3c147c89d8970d16e1006b0d29de1f0d155f7304 (diff)
downloadpackages-f309b140ee3e458fa705cc7851960fc3a88181f1.tar.gz
packages-f309b140ee3e458fa705cc7851960fc3a88181f1.tar.bz2
packages-f309b140ee3e458fa705cc7851960fc3a88181f1.tar.xz
packages-f309b140ee3e458fa705cc7851960fc3a88181f1.zip
user/papirus-icons: new package
Diffstat (limited to 'user/papirus-icons/APKBUILD')
-rw-r--r--user/papirus-icons/APKBUILD60
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"