diff options
author | Marcus Behrendt | 2017-06-22 19:37:16 +0200 |
---|---|---|
committer | Marcus Behrendt | 2017-06-22 19:37:16 +0200 |
commit | 174ae7c9b7a4f5a4c0301a2af06d3bfd368aae00 (patch) | |
tree | e1009faf328880bbeba890dc1e42b35687f7402a | |
parent | 4a79ac334a3ac249f3501e76a38f89db3f303ee7 (diff) | |
download | aur-174ae7c9b7a4f5a4c0301a2af06d3bfd368aae00.tar.gz |
add extra stuff from arc-kde
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 25 insertions, 7 deletions
@@ -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 @@ -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 '-' } |