summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wagie2021-09-10 20:25:14 -0600
committerMark Wagie2021-09-10 20:25:14 -0600
commita7cdd46e8ef15f57ea7a4aa599944df63912dbe7 (patch)
tree1fda4f7879ab1dce06b1e19dd539dfad63b4ea5f
parent503548f1ffae6883b7b9dfbb9ebe022ba811a6e9 (diff)
downloadaur-a7cdd46e8ef15f57ea7a4aa599944df63912dbe7.tar.gz
split package
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD46
2 files changed, 27 insertions, 23 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7625d85fcb1..e144301ca97 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -13,3 +13,7 @@ pkgbase = canta-theme
sha256sums = 98f6b71fbc46b1b9e1b256588cf930f780952f95c57f48c9922065c8b333bacd
pkgname = canta-theme
+
+pkgname = canta-icon-theme
+ pkgdesc = Flat icons for Canta GTK theme
+ optdepends = numix-circle-icon-theme: if you want a better experience
diff --git a/PKGBUILD b/PKGBUILD
index b407d62ed10..fa9cc13bbf8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Maintainer: Mark Wagie <mark dot wagie at tutanota dot com>
# Contributor: Jun Bo Bi <jambonmcyeah@gmail.com>
-#pkgname=('canta-gtk-theme' 'canta-icon-theme')
+pkgname=('canta-gtk-theme' 'canta-icon-theme')
pkgname=canta-theme
pkgbase=canta-theme
pkgdesc="Flat Material Design theme for GTK 3, GTK 2 and Gnome-Shell"
@@ -21,31 +21,31 @@ package_canta-theme() {
return 0
}
-#package_canta-gtk-theme() {
-# depends=('gnome-themes-extra' 'gtk3')
-# optdepends=('gtk-engine-murrine: GTK2 theme support'
-# 'gtk-engines: GTK2 theme support'
-# 'canta-icon-theme: Matching icon theme')
+package_canta-gtk-theme() {
+ depends=('gnome-themes-extra' 'gtk3')
+ optdepends=('gtk-engine-murrine: GTK2 theme support'
+ 'gtk-engines: GTK2 theme support'
+ 'canta-icon-theme: Matching icon theme')
-# cd "Canta-theme-$_pkgver"
-# install -d "$pkgdir/usr/share/themes"
+ cd "Canta-theme-$_pkgver"
+ install -d "$pkgdir/usr/share/themes"
-# # Install theme with Nautilus background image
+ # Install theme with Nautilus background image
+ for theme in standard blue indigo; do
+ ./install.sh -t ${theme} -d "$pkgdir/usr/share/themes"
+ done
+
+ # Install theme without Nautilus background image
# for theme in standard blue indigo; do
-# ./install.sh -t ${theme} -d "$pkgdir/usr/share/themes"
+# ./install.sh -o -t ${theme} -d "$pkgdir/usr/share/themes"
# done
+}
-# # Install theme without Nautilus background image
-## for theme in standard blue indigo; do
-## ./install.sh -o -t ${theme} -d "$pkgdir/usr/share/themes"
-## done
-#}
-
-#package_canta-icon-theme() {
-# pkgdesc="Flat icons for Canta GTK theme"
-# optdepends=('numix-circle-icon-theme: if you want a better experience')
+package_canta-icon-theme() {
+ pkgdesc="Flat icons for Canta GTK theme"
+ optdepends=('numix-circle-icon-theme: if you want a better experience')
-# cd "Canta-theme-$_pkgver"
-# install -d "$pkgdir/usr/share/icons"
-# ./install.sh -i -d "$pkgdir/usr/share/icons"
-#}
+ cd "Canta-theme-$_pkgver"
+ install -d "$pkgdir/usr/share/icons"
+ ./install.sh -i -d "$pkgdir/usr/share/icons"
+}