diff options
author | Isaac Yu <isaacyu1@isaacyu1.com> | 2019-03-14 08:11:52 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-03-16 06:53:25 +0700 |
commit | 77b562f51a9922e7cc450f764acc4576fe3aa0c0 (patch) | |
tree | cefa14f47b79597249c8cf0bbd233391920db3bd /desktop/nitrogen | |
parent | 5069273f28d1a63f31b4ef4a6c24cea1e73f3e1f (diff) |
desktop/nitrogen: Updated for version 1.6.1 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/nitrogen')
-rw-r--r-- | desktop/nitrogen/nitrogen.SlackBuild | 38 | ||||
-rw-r--r-- | desktop/nitrogen/nitrogen.info | 10 |
2 files changed, 32 insertions, 16 deletions
diff --git a/desktop/nitrogen/nitrogen.SlackBuild b/desktop/nitrogen/nitrogen.SlackBuild index 550a890f963ee..6f93348739105 100644 --- a/desktop/nitrogen/nitrogen.SlackBuild +++ b/desktop/nitrogen/nitrogen.SlackBuild @@ -3,11 +3,29 @@ # Slackware build script for nitrogen # Written by G Edward Whiteside <gedwardwhiteside@gmail.com> -# Based on the slackbuilds.org template +# Copyright 2019 Isaac Yu <isaacyu1@isaacyu1.com> +# 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=nitrogen -VERSION=${VERSION:-20120806_692fdf7} -BUILD=${BUILD:-2} +VERSION=${VERSION:-1.6.1} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} DOCS="AUTHORS ChangeLog COPYING INSTALL NEWS README" @@ -45,16 +63,14 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ - \( -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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -./bootstrap + \( -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 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS -std=c++11" \ @@ -69,7 +85,7 @@ CXXFLAGS="$SLKCFLAGS -std=c++11" \ make make install DESTDIR=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true find $PKG/usr/man -type f -exec gzip -9 {} \; diff --git a/desktop/nitrogen/nitrogen.info b/desktop/nitrogen/nitrogen.info index 31e9227db3cd4..95f5c3155e403 100644 --- a/desktop/nitrogen/nitrogen.info +++ b/desktop/nitrogen/nitrogen.info @@ -1,10 +1,10 @@ PRGNAM="nitrogen" -VERSION="20120806_692fdf7" +VERSION="1.6.1" HOMEPAGE="https://github.com/l3ib/nitrogen" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/nitrogen-20120806_692fdf7.tar.xz" -MD5SUM="c2fdcc84e7dc23cb7139b336cd8f634a" +DOWNLOAD="https://github.com/l3ib/nitrogen/releases/download/1.6.1/nitrogen-1.6.1.tar.gz" +MD5SUM="b4b1ac2f9f220bc580d83f0f40c2d5be" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="G Edward Whiteside" -EMAIL="gedwardwhiteside@gmail.com" +MAINTAINER="Isaac Yu" +EMAIL="isaacyu1@isaacyu1.com" |