aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo C <leoc@gmx.com>2020-03-21 23:38:20 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-03-21 23:38:57 +0700
commit8cb8d538edb7387455f62e9efdec5f7428b8cd1d (patch)
tree75559c508328c6b5102d04dbbd6dd24a02dbd7b8
parentc654a06507c7a2ada68cc7deb3bc253612ced45b (diff)
desktop/Qogir-icon-theme: Added (A colorful design icon theme).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--desktop/Qogir-icon-theme/Qogir-icon-theme.SlackBuild24
-rw-r--r--desktop/Qogir-icon-theme/Qogir-icon-theme.info8
2 files changed, 13 insertions, 19 deletions
diff --git a/desktop/Qogir-icon-theme/Qogir-icon-theme.SlackBuild b/desktop/Qogir-icon-theme/Qogir-icon-theme.SlackBuild
index 87bf63f67172..cb2e23e73b1f 100644
--- a/desktop/Qogir-icon-theme/Qogir-icon-theme.SlackBuild
+++ b/desktop/Qogir-icon-theme/Qogir-icon-theme.SlackBuild
@@ -23,12 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=Qogir-icon-theme
-VERSION=${VERSION:-2019_04_06}
+VERSION=${VERSION:-20200221}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=noarch
+SRCVER=${SRCVER:-2020-02-21}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -39,11 +41,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-mkdir $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION
-tar xvf $CWD/Qogir.tar.xz
-tar xvf $CWD/Qogir-dark.tar.xz
+rm -rf $PRGNAM-$SRCVER
+tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
+cd $PRGNAM-$SRCVER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -52,17 +52,13 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p $PKG/usr/share/icons
-cp -a Qogir Qogir-dark \
- $PKG/usr/share/icons
-rm -f $PKG/usr/share/icons/Qogir/icon-theme.cache \
- $PKG/usr/share/icons/Qogir-dark/icon-theme.cache
+./install.sh --dest $PKG/usr/share/icons
+find $PKG/usr/share/icons \
+ \( -name AUTHORS -o -name COPYING -o -name icon-theme.cache \) -exec rm -f {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-mv $PKG/usr/share/icons/Qogir/AUTHORS \
- $PKG/usr/share/icons/Qogir/COPYING \
+cp -a AUTHORS COPYING README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
-rm -f $PKG/usr/share/icons/Qogir-dark/AUTHORS \
- $PKG/usr/share/icons/Qogir-dark/COPYING
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/desktop/Qogir-icon-theme/Qogir-icon-theme.info b/desktop/Qogir-icon-theme/Qogir-icon-theme.info
index aa5202dc3963..d94dc508caae 100644
--- a/desktop/Qogir-icon-theme/Qogir-icon-theme.info
+++ b/desktop/Qogir-icon-theme/Qogir-icon-theme.info
@@ -1,10 +1,8 @@
PRGNAM="Qogir-icon-theme"
-VERSION="2019_04_06"
+VERSION="20200221"
HOMEPAGE="https://github.com/vinceliuice/Qogir-icon-theme"
-DOWNLOAD="https://github.com/vinceliuice/Qogir-icon-theme/releases/download/2019_04_06/Qogir.tar.xz \
- https://github.com/vinceliuice/Qogir-icon-theme/releases/download/2019_04_06/Qogir-dark.tar.xz"
-MD5SUM="9d9f40ceaa3f71c3a2cefab6d31710ef \
- 62e571acc08f0fca80570fdd3f051b54"
+DOWNLOAD="https://github.com/vinceliuice/Qogir-icon-theme/archive/2020-02-21/Qogir-icon-theme-2020-02-21.tar.gz"
+MD5SUM="1e42446b6e765c70b3c1192a1fa9d0cd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""