diff options
author | Jay Lanagan <1995739+mac-a-r0ni@users.noreply.github.com> | 2023-11-02 06:34:04 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-11-04 16:39:19 +0700 |
commit | dd912d8145ce1615081986b5da82335b8dee6396 (patch) | |
tree | 13eacc20a4f87e2000afcfa91af4e51541eae923 /desktop/papirus-icon-theme/papirus-icon-theme.SlackBuild | |
parent | cadd07390299ee82c9d81c6e921d75b0aeefa127 (diff) |
desktop/papirus-icon-theme: Updated for version 20231101
As req by the papirus dev team, i've removed the ePapirus & ePapirus-Dark themes, may contribute separate package eventually.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/papirus-icon-theme/papirus-icon-theme.SlackBuild')
-rw-r--r-- | desktop/papirus-icon-theme/papirus-icon-theme.SlackBuild | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/desktop/papirus-icon-theme/papirus-icon-theme.SlackBuild b/desktop/papirus-icon-theme/papirus-icon-theme.SlackBuild index 833b20d03c18f..ab4dc736489e6 100644 --- a/desktop/papirus-icon-theme/papirus-icon-theme.SlackBuild +++ b/desktop/papirus-icon-theme/papirus-icon-theme.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=papirus-icon-theme -VERSION=${VERSION:-20230901} +VERSION=${VERSION:-20231101} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -49,7 +49,8 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz $PRGNAM-$VERSION/install.sh cd $PRGNAM-$VERSION -THEMES=$(grep \{ICON_THEMES install.sh | cut -d= -f2 | cut -d} -f1) +sed -i -e 's,Papirus-Light,Papirus Papirus-Light,g' install.sh +THEMES=$(grep \{EXTRA_THEMES install.sh | cut -d= -f2 | cut -d} -f1) mkdir -p $PKG/usr/share/icons ( @@ -64,6 +65,10 @@ chown -R root:root . find . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + \ -o \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} + +# Papirus team recommends to remove ePapirus & ePapirus-Dark if the distro +# does not ship the Pantheon Desktop, so we're going to do that. +rm -r $PKG/usr/share/icons/{ePapirus,ePapirus-Dark} + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cd $PKG/usr/doc tar xvf $CWD/$PRGNAM-$VERSION.tar.gz $PRGNAM-$VERSION/{AUTHORS,LICENSE,README.md} @@ -79,13 +84,13 @@ cd $PKG # To create a new doinst.sh, comment the next line, uncomment the lines below # it and @THEMES@ above, grab the new one from the package and gzip it. -#find . -type l -delete +find . -type l -delete # 20200407 bkw: makepkg's symlink search and doinst.sh creation doesn't # scale well. This makes the build complete much faster, and create an # identical doinst.sh. -find . -type l \ - -printf '( cd %h ; rm -rf %f )\n( cd %h ; ln -sf %l %f )\n' -delete | \ - sed 's,cd \./,cd ,' >> $PKG/install/doinst.sh +#find . -type l \ +# -printf '( cd %h ; rm -rf %f )\n( cd %h ; ln -sf %l %f )\n' -delete | \ +# sed 's,cd \./,cd ,' >> $PKG/install/doinst.sh /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE |