[arch-commits] Commit in arc-kde/trunk (PKGBUILD)

Bruno Pagani archange at archlinux.org
Tue Sep 12 14:50:33 UTC 2017


    Date: Tuesday, September 12, 2017 @ 14:50:33
  Author: archange
Revision: 257136

Build Kvantum themes in a split package

Modified:
  arc-kde/trunk/PKGBUILD

----------+
 PKGBUILD |   27 +++++++++++++++++++--------
 1 file changed, 19 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-12 14:50:29 UTC (rev 257135)
+++ PKGBUILD	2017-09-12 14:50:33 UTC (rev 257136)
@@ -1,23 +1,24 @@
 # Maintainer: Bruno Pagani <archange at archlinux.org>
 
-pkgname=arc-kde
+pkgbase=arc-kde
+pkgname=('arc-kde' 'kvantum-theme-arc')
 pkgver=20170912
-pkgrel=1
+pkgrel=2
 pkgdesc="Arc theme for KDE Plasma 5"
 arch=('any')
-url="https://github.com/PapirusDevelopmentTeam/${pkgname}"
+url="https://github.com/PapirusDevelopmentTeam/${pkgbase}"
 license=('GPL3')
 options=('!strip')
-source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/${pkgver}.tar.gz")
+source=(${pkgbase}-${pkgver}.tar.gz::"${url}/archive/${pkgver}.tar.gz")
 sha256sums=('313ccb8440a3fa81e84effca779ddcbba7765490974c1e8c002c9e77efb8d111')
 
 prepare() {
-	cd ${pkgname}-${pkgver}
-	mv yakuake/{kns_,}skins
+    cd ${pkgbase}-${pkgver}
+    mv yakuake/{kns_,}skins
 }
 
-package() {
-    cd ${pkgname}-${pkgver}
+package_arc-kde() {
+    cd ${pkgbase}-${pkgver}
     install -d "${pkgdir}"/usr/share
  
     cp -r plasma "${pkgdir}"/usr/share
@@ -26,3 +27,13 @@
     cp -r konsole "${pkgdir}"/usr/share
     cp -r yakuake "${pkgdir}"/usr/share
 }
+
+
+package_kvantum-theme-arc() {
+    pkgdesc="Arc theme for Kvantum"
+    depends=('kvantum-qt5')
+    cd ${pkgbase}-${pkgver}
+    install -d "${pkgdir}"/usr/share
+
+    cp -r Kvantum "${pkgdir}"/usr/share
+}



More information about the arch-commits mailing list