From 4de4267021edd5d199244fe9725fb34097ed0037 Mon Sep 17 00:00:00 2001 From: Niki Kovacs Date: Sat, 7 Feb 2015 05:16:35 +0700 Subject: desktop/luna-wallpapers: Added (Elementary OS Luna wallpapers). Signed-off-by: Willy Sudiarto Raharjo --- desktop/luna-wallpapers/README | 1 + desktop/luna-wallpapers/luna-wallpapers.SlackBuild | 75 ++++++++++++++++++++++ desktop/luna-wallpapers/luna-wallpapers.info | 10 +++ desktop/luna-wallpapers/slack-desc | 19 ++++++ 4 files changed, 105 insertions(+) create mode 100644 desktop/luna-wallpapers/README create mode 100644 desktop/luna-wallpapers/luna-wallpapers.SlackBuild create mode 100644 desktop/luna-wallpapers/luna-wallpapers.info create mode 100644 desktop/luna-wallpapers/slack-desc (limited to 'desktop/luna-wallpapers') diff --git a/desktop/luna-wallpapers/README b/desktop/luna-wallpapers/README new file mode 100644 index 0000000000..a8849b0013 --- /dev/null +++ b/desktop/luna-wallpapers/README @@ -0,0 +1 @@ +This is the complete collection of Elementary OS 0.2 Luna wallpapers. diff --git a/desktop/luna-wallpapers/luna-wallpapers.SlackBuild b/desktop/luna-wallpapers/luna-wallpapers.SlackBuild new file mode 100644 index 0000000000..401d6585e1 --- /dev/null +++ b/desktop/luna-wallpapers/luna-wallpapers.SlackBuild @@ -0,0 +1,75 @@ +#!/bin/sh + +# Slackware build script for luna-wallpapers + +# Written by Niki Kovacs +# +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=luna-wallpapers +VERSION=${VERSION:-0.2} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +ARCH=noarch + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP + +mkdir -p $PKG/usr/share/xfce4/backdrops +mkdir -p $PKG/usr/share/backgrounds/mate +mkdir -p $PKG/usr/share/wallpapers + +# Xfce default +tar xvf $CWD/$PRGNAM.tar.gz -C $PKG/usr/share/xfce4/backdrops/ + +chown -R root:root $PKG +find -L $PKG \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +# Make sure wallpaper preview also works in KDE and MATE +cd $PKG/usr/share/wallpapers +ln -s ../xfce4/backdrops/*.jpg . +cd - + +cd $PKG/usr/share/backgrounds/mate +ln -s ../../xfce4/backdrops/*.jpg . +cd - + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +mv $PKG/usr/share/xfce4/backdrops/LICENSE $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/desktop/luna-wallpapers/luna-wallpapers.info b/desktop/luna-wallpapers/luna-wallpapers.info new file mode 100644 index 0000000000..e70aa7b5f1 --- /dev/null +++ b/desktop/luna-wallpapers/luna-wallpapers.info @@ -0,0 +1,10 @@ +PRGNAM="luna-wallpapers" +VERSION="0.2" +HOMEPAGE="http://elementaryos.org/journal/luna-wallpapers-officially-revealed" +DOWNLOAD="https://launchpad.net/elementaryos/0.2-luna/luna-wallpapers/+download/luna-wallpapers.tar.gz" +MD5SUM="153357336d6c727669127c27d64cf5a1" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Niki Kovacs" +EMAIL="info@microlinux.fr" diff --git a/desktop/luna-wallpapers/slack-desc b/desktop/luna-wallpapers/slack-desc new file mode 100644 index 0000000000..008e37934f --- /dev/null +++ b/desktop/luna-wallpapers/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +luna-wallpapers: luna-wallpapers (Elementary OS Luna wallpapers) +luna-wallpapers: +luna-wallpapers: This is the complete collection of Elementary OS 0.2 Luna wallpapers. +luna-wallpapers: +luna-wallpapers: +luna-wallpapers: +luna-wallpapers: +luna-wallpapers: +luna-wallpapers: +luna-wallpapers: +luna-wallpapers: http://elementaryos.org/journal/luna-wallpapers-officially-revealed -- cgit v1.2.3