mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
x11-themes/qogir-icon-themes: Update to 2023-06-05
Use GNU cp from coreutils. Replace patch with BINARY_ALIAS (gcp, gsed). Changelog: https://github.com/vinceliuice/Qogir-icon-theme/releases/tag/2023-06-05 PR: 278628 Approved by: submitter is maintainer
This commit is contained in:
parent
634c08de92
commit
976d671d77
@ -1,5 +1,5 @@
|
||||
PORTNAME= qogir-icon-themes
|
||||
DISTVERSION= 2021-10-14
|
||||
DISTVERSION= 2023-06-05
|
||||
CATEGORIES= x11-themes
|
||||
|
||||
MAINTAINER= Alexander88207@protonmail.com
|
||||
@ -10,6 +10,7 @@ LICENSE= GPLv3
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
BUILD_DEPENDS= bash>0:shells/bash \
|
||||
gcp:sysutils/coreutils \
|
||||
gsed:textproc/gsed
|
||||
|
||||
USES= shebangfix
|
||||
@ -18,7 +19,9 @@ USE_GITHUB= yes
|
||||
GH_ACCOUNT= vinceliuice
|
||||
GH_PROJECT= Qogir-icon-theme
|
||||
SHEBANG_FILES= install.sh
|
||||
BINARY_ALIAS= gtk-update-icon-cache=${TRUE}
|
||||
|
||||
BINARY_ALIAS+= cp=gcp gtk-update-icon-cache=${TRUE} sed=gsed
|
||||
|
||||
NO_ARCH= yes
|
||||
NO_BUILD= yes
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1635097013
|
||||
SHA256 (vinceliuice-Qogir-icon-theme-2021-10-14_GH0.tar.gz) = 329032fb3a4e3d68a697dbea7fd4389a138c1da55a7433a1dc25803bda568d32
|
||||
SIZE (vinceliuice-Qogir-icon-theme-2021-10-14_GH0.tar.gz) = 6771310
|
||||
TIMESTAMP = 1717845073
|
||||
SHA256 (vinceliuice-Qogir-icon-theme-2023-06-05_GH0.tar.gz) = 618768d3592238f0d11379b4a0261434c332bb63c30d3ea85ea26f80bf199043
|
||||
SIZE (vinceliuice-Qogir-icon-theme-2023-06-05_GH0.tar.gz) = 6569429
|
||||
|
@ -1,66 +0,0 @@
|
||||
--- install.sh.orig 2021-09-05 09:18:34 UTC
|
||||
+++ install.sh
|
||||
@@ -37,43 +37,43 @@ install() {
|
||||
echo "Installing '${THEME_DIR}'..."
|
||||
|
||||
mkdir -p "${THEME_DIR}"
|
||||
- cp -r "${SRC_DIR}/COPYING" "${THEME_DIR}"
|
||||
- cp -r "${SRC_DIR}/AUTHORS" "${THEME_DIR}"
|
||||
+ cp -R "${SRC_DIR}/COPYING" "${THEME_DIR}"
|
||||
+ cp -R "${SRC_DIR}/AUTHORS" "${THEME_DIR}"
|
||||
|
||||
if [[ "${noapp:-}" == 'true' ]]; then
|
||||
- cp -r "${SRC_DIR}/src/index-noapp.theme" "${THEME_DIR}/index.theme"
|
||||
+ cp -R "${SRC_DIR}/src/index-noapp.theme" "${THEME_DIR}/index.theme"
|
||||
else
|
||||
- cp -r "${SRC_DIR}/src/index.theme" "${THEME_DIR}"
|
||||
+ cp -R "${SRC_DIR}/src/index.theme" "${THEME_DIR}"
|
||||
fi
|
||||
|
||||
- cp -r "${SRC_DIR}/src/cursors/dist${theme}${color}/cursors" "${THEME_DIR}"
|
||||
+ cp -R "${SRC_DIR}/src/cursors/dist${theme}${color}/cursors" "${THEME_DIR}"
|
||||
|
||||
cd "${THEME_DIR}" || exit 1
|
||||
- sed -i "s/${name}/${name}${theme}${color}/g" index.theme
|
||||
+ gsed -i "s/${name}/${name}${theme}${color}/g" index.theme
|
||||
|
||||
if [[ ${color} == '' ]]; then
|
||||
- cp -r "${SRC_DIR}"/src/{16,22,24,32,48,96,128,scalable,symbolic} "${THEME_DIR}"
|
||||
- cp -r "${SRC_DIR}"/links/{16,22,24,32,48,96,128,scalable,symbolic} "${THEME_DIR}"
|
||||
+ cp -R "${SRC_DIR}"/src/{16,22,24,32,48,96,128,scalable,symbolic} "${THEME_DIR}"
|
||||
+ cp -R "${SRC_DIR}"/links/{16,22,24,32,48,96,128,scalable,symbolic} "${THEME_DIR}"
|
||||
[[ ${theme} != '' ]] && \
|
||||
- cp -r "${SRC_DIR}"/src/theme"${theme}"/* "${THEME_DIR}"
|
||||
+ cp -R "${SRC_DIR}"/src/theme"${theme}"/* "${THEME_DIR}"
|
||||
else
|
||||
mkdir -p "${THEME_DIR}/16"
|
||||
mkdir -p "${THEME_DIR}/22"
|
||||
mkdir -p "${THEME_DIR}/24"
|
||||
mkdir -p "${THEME_DIR}/32"
|
||||
- cp -r "${SRC_DIR}"/src/16/{actions,places,devices} "${THEME_DIR}/16"
|
||||
- cp -r "${SRC_DIR}"/src/22/{actions,places,devices} "${THEME_DIR}/22"
|
||||
- cp -r "${SRC_DIR}"/src/24/{actions,places,devices} "${THEME_DIR}/24"
|
||||
- cp -r "${SRC_DIR}"/src/32/actions "${THEME_DIR}/32"
|
||||
+ cp -R "${SRC_DIR}"/src/16/{actions,places,devices} "${THEME_DIR}/16"
|
||||
+ cp -R "${SRC_DIR}"/src/22/{actions,places,devices} "${THEME_DIR}/22"
|
||||
+ cp -R "${SRC_DIR}"/src/24/{actions,places,devices} "${THEME_DIR}/24"
|
||||
+ cp -R "${SRC_DIR}"/src/32/actions "${THEME_DIR}/32"
|
||||
|
||||
- sed -i "s/#5d656b/#d3dae3/g" "${THEME_DIR}"/{16,22,24,32}/actions/*
|
||||
- sed -i "s/#5d656b/#d3dae3/g" "${THEME_DIR}"/{16,22,24}/places/*
|
||||
- sed -i "s/#5d656b/#d3dae3/g" "${THEME_DIR}"/{16,22,24}/devices/*
|
||||
+ gsed -i "s/#5d656b/#d3dae3/g" "${THEME_DIR}"/{16,22,24,32}/actions/*
|
||||
+ gsed -i "s/#5d656b/#d3dae3/g" "${THEME_DIR}"/{16,22,24}/places/*
|
||||
+ gsed -i "s/#5d656b/#d3dae3/g" "${THEME_DIR}"/{16,22,24}/devices/*
|
||||
|
||||
- cp -r "${SRC_DIR}"/links/16/{actions,places,devices} "${THEME_DIR}/16"
|
||||
- cp -r "${SRC_DIR}"/links/22/{actions,places,devices} "${THEME_DIR}/22"
|
||||
- cp -r "${SRC_DIR}"/links/24/{actions,places,devices} "${THEME_DIR}/24"
|
||||
- cp -r "${SRC_DIR}"/links/32/actions "${THEME_DIR}/32"
|
||||
+ cp -R "${SRC_DIR}"/links/16/{actions,places,devices} "${THEME_DIR}/16"
|
||||
+ cp -R "${SRC_DIR}"/links/22/{actions,places,devices} "${THEME_DIR}/22"
|
||||
+ cp -R "${SRC_DIR}"/links/24/{actions,places,devices} "${THEME_DIR}/24"
|
||||
+ cp -R "${SRC_DIR}"/links/32/actions "${THEME_DIR}/32"
|
||||
|
||||
cd "${dest}" || exit 1
|
||||
ln -sf "../${name}${theme}/scalable" "${name}${theme}-dark/scalable"
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user