summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Behrendt2016-12-02 00:18:58 +0100
committerMarcus Behrendt2016-12-02 00:18:58 +0100
commitf244c93ebcf4a1023d682441c965760099809fb4 (patch)
tree93128ac83a6a4e7308df30ac1334e32c2c2bb2dd
parent2e8e725f83168c58c61e8736553379930690ed11 (diff)
downloadaur-f244c93ebcf4a1023d682441c965760099809fb4.tar.gz
just use a single package
-rw-r--r--.SRCINFO47
-rw-r--r--PKGBUILD96
-rw-r--r--arc-kde-git.install (renamed from arc-kde-plasma-theme-git.install)0
3 files changed, 27 insertions, 116 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5e55cc58e13..f05e92da95e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,51 +1,28 @@
# Generated by mksrcinfo v8
-# Thu Dec 1 22:55:48 UTC 2016
+# Thu Dec 1 23:18:15 UTC 2016
pkgbase = arc-kde-git
pkgdesc = Arc customization for Plasma 5 (git version)
- pkgver = 20161201
+ pkgver = 20161202
pkgrel = 1
url = https://github.com/PapirusDevelopmentTeam/arc-kde
+ install = arc-kde-git.install
arch = any
license = GPLv3
makedepends = git
+ optdepends = plasma-desktop: For Plasma desktop theme
optdepends = gtk-theme-arc-git: A flat theme with transparent elements for GTK 3, GTK 2 and Gnome-Shell (git version)
optdepends = arc-firefox-theme-git: Arc Firefox theme (git version)
+ optdepends = kwin: For Arorae decorations
+ optdepends = qt4-style-kvantum-svn: For Kvantum Theme
+ optdepends = qt5-style-kvantum-svn: For Kvantum Theme
+ optdepends = kvantum-tools-qt5-svn: For Kvantum Theme
+ optdepends = konsole: For Konsole color schemes
+ optdepends = konveration: For konversation theme
+ optdepends = yakuake: For Yakuake theme
options = !strip
source = arc-kde-git::git+https://github.com/PapirusDevelopmentTeam/arc-kde.git
sha256sums = SKIP
-pkgname = arc-kde-plasma-theme-git
+pkgname = arc-kde-git
pkgdesc = Arc plasma theme (git version)
- install = arc-kde-plasma-theme-git.install
- depends = plasma-desktop
-
-pkgname = arc-kde-aurorae-theme-git
- pkgdesc = Arc decorations for Kwin (git version)
- depends = kwin
-
-pkgname = arc-kde-kvantum-theme-git
- pkgdesc = Arc theme for Kvantum theme engine (git version)
- depends = qt4-style-kvantum-svn
- depends = qt5-style-kvantum-svn
- depends = kvantum-tools-qt5-svn
-
-pkgname = arc-kde-color-schemes-git
- pkgdesc = Arc color scheme for KDE (git version)
- depends = plasma-desktop
-
-pkgname = arc-kde-konsole-colorscheme-git
- pkgdesc = Arc color scheme for Konsole (git version)
- depends = konsole
-
-pkgname = arc-kde-konversation-theme-git
- pkgdesc = Arc color scheme for Konversation (git version)
- depends = konversation
-
-pkgname = arc-kde-yakuake-theme-git
- pkgdesc = Arc color scheme for Yakuake (git version)
- depends = yakuake
-
-pkgname = arc-kde-wallpapers-git
- pkgdesc = Arc Wallpapers Suite (git version)
- depends = plasma-desktop
diff --git a/PKGBUILD b/PKGBUILD
index 616df551c75..335e2860240 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,5 @@
-_pkgbase=arc-kde
-pkgbase=${_pkgbase}-git
-pkgver=20161201
+pkgname=arc-kde-git
+pkgver=20161202
pkgrel=1
pkgdesc='Arc customization for Plasma 5 (git version)'
arch=('any')
@@ -9,104 +8,39 @@ license=('GPLv3')
options=('!strip')
makedepends=('git')
optdepends=(
+ "plasma-desktop: For Plasma desktop theme"
"gtk-theme-arc-git: A flat theme with transparent elements for GTK 3, GTK 2 and Gnome-Shell (git version)"
"arc-firefox-theme-git: Arc Firefox theme (git version)"
+ "kwin: For Arorae decorations"
+ "qt4-style-kvantum-svn: For Kvantum Theme"
+ "qt5-style-kvantum-svn: For Kvantum Theme"
+ "kvantum-tools-qt5-svn: For Kvantum Theme"
+ "konsole: For Konsole color schemes"
+ "konveration: For konversation theme"
+ "yakuake: For Yakuake theme"
)
-source=("${pkgbase}::git+${url}.git")
+source=("${pkgname}::git+${url}.git")
sha256sums=('SKIP')
+install=${pkgname}.install
pkgver(){
cd ${pkgbase}
git log -1 --format="%cd" --date=short | tr -d '-'
}
-_package-plasma-theme-git () {
+package() {
pkgdesc="Arc plasma theme (git version)"
- depends=('plasma-desktop')
- install=${pkgname}.install
cd ${srcdir}/${pkgbase}
mkdir -p ${pkgdir}/usr/share
- cp --no-preserve=mode,ownership -r plasma ${pkgdir}/usr/share
-}
-
-_package-aurorae-theme-git () {
- pkgdesc="Arc decorations for Kwin (git version)"
- depends=('kwin')
- cd ${srcdir}/${pkgbase}
- mkdir -p ${pkgdir}/usr/share
+ cp --no-preserve=mode,ownership -r plasma ${pkgdir}/usr/share
cp --no-preserve=mode,ownership -r aurorae ${pkgdir}/usr/share
-}
-
-_package-kvantum-theme-git () {
- pkgdesc="Arc theme for Kvantum theme engine (git version)"
- depends=(qt{4,5}-style-kvantum-svn kvantum-tools-qt5-svn)
-
- cd ${srcdir}/${pkgbase}
- mkdir -p ${pkgdir}/usr/share
cp --no-preserve=mode,ownership -r Kvantum ${pkgdir}/usr/share
-}
-
-_package-color-schemes-git () {
- pkgdesc="Arc color scheme for KDE (git version)"
- depends=('plasma-desktop')
-
- cd ${srcdir}/${pkgbase}
- mkdir -p ${pkgdir}/usr/share
cp --no-preserve=mode,ownership -r color-schemes ${pkgdir}/usr/share
-}
-
-_package-konsole-colorscheme-git () {
- pkgdesc="Arc color scheme for Konsole (git version)"
- depends=('konsole')
-
- cd ${srcdir}/${pkgbase}
- mkdir -p ${pkgdir}/usr/share
cp --no-preserve=mode,ownership -r konsole ${pkgdir}/usr/share
-}
-
-_package-konversation-theme-git () {
- pkgdesc="Arc color scheme for Konversation (git version)"
- depends=('konversation')
-
- cd ${srcdir}/${pkgbase}
- mkdir -p ${pkgdir}/usr/share
cp --no-preserve=mode,ownership -r konversation ${pkgdir}/usr/share
-}
-
-_package-yakuake-theme-git () {
- pkgdesc="Arc color scheme for Yakuake (git version)"
- depends=('yakuake')
-
- cd ${srcdir}/${pkgbase}
- mkdir -p ${pkgdir}/usr/share
+ cp --no-preserve=mode,ownership -r wallpapers ${pkgdir}/usr/share
cp --no-preserve=mode,ownership -r yakuake ${pkgdir}/usr/share
mv ${pkgdir}/usr/share/yakuake/{kns_skins,skins}
}
-
-_package-wallpapers-git () {
- pkgdesc="Arc Wallpapers Suite (git version)"
- depends=('plasma-desktop')
-
- cd ${srcdir}/${pkgbase}
- mkdir -p ${pkgdir}/usr/share
- cp --no-preserve=mode,ownership -r wallpapers ${pkgdir}/usr/share
-}
-
-pkgname=(
- "${_pkgbase}-plasma-theme-git"
- "${_pkgbase}-aurorae-theme-git"
- "${_pkgbase}-kvantum-theme-git"
- "${_pkgbase}-color-schemes-git"
- "${_pkgbase}-konsole-colorscheme-git"
- "${_pkgbase}-konversation-theme-git"
- "${_pkgbase}-yakuake-theme-git"
- "${_pkgbase}-wallpapers-git"
-)
-for _p in ${pkgname[@]}; do
- eval "package_${_p}() {
- $(declare -f "_package${_p#${_pkgbase}}")
- _package${_p#${_pkgbase}}
- }"
-done
diff --git a/arc-kde-plasma-theme-git.install b/arc-kde-git.install
index b48f5261372..b48f5261372 100644
--- a/arc-kde-plasma-theme-git.install
+++ b/arc-kde-git.install