X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id A1128DC02F6 for ; Mon, 20 Apr 2015 11:32:58 +0000 (UTC) Received: from apollo.thewebhostserver.com (apollomail.thewebhostserver.com [46.23.65.248]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 68AF6DC02A3 for ; Mon, 20 Apr 2015 11:32:53 +0000 (UTC) Received: from [81.4.121.188] (port=55609 helo=localhost.localdomain) by apollo.thewebhostserver.com with esmtpsa (TLSv1.2:AES128-SHA256:128) (Exim 4.85) (envelope-from ) id 1Yk9wX-0002RS-9o; Mon, 20 Apr 2015 12:32:49 +0100 From: Stuart Cardall To: alpine-aports@lists.alpinelinux.org Cc: Stuart Cardall Subject: [alpine-aports] [PATCH] testing/gnome-colors: new aport Date: Mon, 20 Apr 2015 11:32:45 +0000 Message-Id: <1429529565-99296-1-git-send-email-developer@it-offshore.co.uk> X-Mailer: git-send-email 2.3.5 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - apollo.thewebhostserver.com X-AntiAbuse: Original Domain - lists.alpinelinux.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - it-offshore.co.uk X-Get-Message-Sender-Via: apollo.thewebhostserver.com: authenticated_id: developer@it-offshore.co.uk X-Source: X-Source-Args: X-Source-Dir: X-Virus-Scanned: ClamAV using ClamSMTP X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: The GNOME-Colors is a project that aims to make the GNOME desktop as elegant, consistent and colorful as possible. There are seven full color-schemes available; Brave (Blue), Human (Orange), Wine (Red), Noble (Purple), Wise (Green), Dust (Chocolate) and Illustrious (Pink). GNOME-Colors is mostly inspired/based on Tango, GNOME, Elementary, Tango-Generator and many other open-source projects. --- testing/gnome-colors/APKBUILD | 77 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 testing/gnome-colors/APKBUILD diff --git a/testing/gnome-colors/APKBUILD b/testing/gnome-colors/APKBUILD new file mode 100644 index 0000000..c78b29f --- /dev/null +++ b/testing/gnome-colors/APKBUILD @@ -0,0 +1,77 @@ +# Contributor: Stuart Cardall +# Maintainer: Stuart Cardall +pkgname=gnome-colors +pkgver=5.5.1 +pkgrel=0 +pkgdesc="gnome-colors icon themes meta package (all themes)" +url="https://code.google.com/p/gnome-colors/" +arch="noarch" +license="GPLv2" +depends_dev="" +makedepends="$depends_dev" +subpackages="gnome-brave-icon-theme:brave + $pkgname-common + gnome-dust-icon-theme:dust + gnome-human-icon-theme:human + gnome-illustrious-icon-theme:illustrious + gnome-noble-icon-theme:noble + gnome-wine-icon-theme:wine + gnome-wise-icon-theme:wise + " +install_if="gnome-colors-common gnome-icon-theme-brave gnome-icon-theme-dust gnome-icon-theme-human + gnome-icon-theme-illustrious gnome-icon-theme-noble gnome-icon-theme-wine gnome-icon-theme-wise" + +source="https://gnome-colors.googlecode.com/files/gnome-colors-$pkgver.tar.gz" + +_builddir="$srcdir"/$pkgname-$pkgver + +prepare() { + mkdir $_builddir + ls -1 | egrep -v "$pkgver|.patch" | xargs -I{} mv {} $_builddir/ +} + +package() { + cd "$_builddir" || return 1 + find gnome* -name 'xchat*' | while read i; do + ln -s "${i##*/}" "${i/xchat/hexchat}" || break + done + mkdir -p "$pkgdir/$pkgname" +} + +_app() { + local app="$1" final_name= color= + vmsg="variation of the" cmsg="icons for all" + + case "$app" in + brave) color="Blue $vmsg";; + colors-common) color="Common $cmsg";; + dust) color="Chocolate $vmsg";; + human) color="Orange $vmsg";; + illustrious) color="Pink $vmsg";; + noble) color="Purple $vmsg";; + wine) color="Red $vmsg";; + wise) color="Green $vmsg";; + esac + + pkgdesc="$color GNOME-Colors icon theme" + if [ "$app" != "colors-common" ]; then + install_if="$pkgname=$pkgver $pkgname-common" + fi + + cd "$_builddir" + mkdir -p "$subpkgdir/usr/share/icons" + mv "gnome-$app" "$subpkgdir/usr/share/icons/" || return 1 +} + +brave() { _app brave 'brave*'; } +common() { _app colors-common 'colors-common*'; } +dust() { _app dust 'dust*'; } +human() { _app human 'human*'; } +illustrious() { _app illustrious 'illustrious*'; } +noble() { _app noble 'noble*'; } +wine() { _app wine 'wine*'; } +wise() { _app wise 'wise*'; } + +md5sums="8ec81b556bac351817bd56a1701dbbfb gnome-colors-5.5.1.tar.gz" +sha256sums="1e91d845a753eb38671e7614a786f852ab858a12983111e780da4a47c9debe58 gnome-colors-5.5.1.tar.gz" +sha512sums="23d1fb9b96cd4287acc0f540c8a7abed1b9f16d7e2bc952beedc365cfd71a3a0134382a7f4bb1c01c62dc376acb6aaf81332167869ec6e8c036679e89d325ff3 gnome-colors-5.5.1.tar.gz" -- 2.3.5 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---