summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Behrendt2017-06-22 19:37:16 +0200
committerMarcus Behrendt2017-06-22 19:37:16 +0200
commit174ae7c9b7a4f5a4c0301a2af06d3bfd368aae00 (patch)
treee1009faf328880bbeba890dc1e42b35687f7402a
parent4a79ac334a3ac249f3501e76a38f89db3f303ee7 (diff)
downloadaur-174ae7c9b7a4f5a4c0301a2af06d3bfd368aae00.tar.gz
add extra stuff from arc-kde
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD23
2 files changed, 25 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c52faa81ae7..7098b8a6098 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,7 @@
-# Generated by mksrcinfo v8
-# Wed Mar 8 12:29:28 UTC 2017
pkgbase = arc-kde-git
pkgdesc = Arc customization mainly for Plasma 5 (git version)
- pkgver = 20170306
- pkgrel = 1
+ pkgver = 20170622
+ pkgrel = 2
url = https://github.com/PapirusDevelopmentTeam/arc-kde
install = arc-kde-git.install
arch = any
@@ -19,6 +17,9 @@ pkgbase = arc-kde-git
optdepends = konsole: For Konsole color schemes
optdepends = konversation: For konversation theme
optdepends = yakuake: For Yakuake theme
+ optdepends = telegram-desktop
+ optdepends = eclipse-common
+ optdepends = firefox
options = !strip
source = arc-kde-git::git+https://github.com/PapirusDevelopmentTeam/arc-kde.git
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 09ae45b353a..05c2d7c54c6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,10 @@
# Maintainer: Marcus Behrendt <marcus dot behrendt dot eightysix(in numbers) at bigbrothergoogle dot com
+_with_extra=y
+
pkgname=arc-kde-git
-pkgver=20170306
-pkgrel=1
+pkgver=20170622
+pkgrel=2
pkgdesc='Arc customization mainly for Plasma 5 (git version)'
arch=('any')
url='https://github.com/PapirusDevelopmentTeam/arc-kde'
@@ -21,11 +23,26 @@ optdepends=(
"konversation: For konversation theme"
"yakuake: For Yakuake theme"
)
+
+if [ -n "${_with_extra}" ]; then
+ optdepends+=(
+ "telegram-desktop"
+ "eclipse-common"
+ "firefox"
+ )
+
+ prepare() {
+ if [ -n "${_with_extra}" ]; then
+ sed -i 's|^install:|install:\n\tmkdir -p $(DESTDIR)/usr/share/arc\n\tcp --no-preserve=mode,ownership -r extra $(DESTDIR)/usr/share/arc|' "${srcdir}/${pkgname}/Makefile"
+ fi
+ }
+fi
+
source=("${pkgname}::git+${url}.git")
sha256sums=('SKIP')
install=${pkgname}.install
-pkgver(){
+pkgver() {
cd ${pkgname}
git log -1 --format="%cd" --date=short | tr -d '-'
}