awoken-icons: fix indent lints

This commit is contained in:
Michael Gehring 2017-07-16 13:52:05 +00:00
parent 9bc82766eb
commit af1849d59e

View file

@ -16,40 +16,40 @@ build_options="customico"
desc_option_customico="Enable support for Custom Icons Themes" desc_option_customico="Enable support for Custom Icons Themes"
if [ "$build_option_customico" ]; then if [ "$build_option_customico" ]; then
depends="zenity xdg-utils ImageMagick" depends="zenity xdg-utils ImageMagick"
fi fi
do_install() { do_install() {
vmkdir "usr/share/icons" vmkdir "usr/share/icons"
for _theme in AwOken{,Dark,White}.tar.gz; do for _theme in AwOken{,Dark,White}.tar.gz; do
tar --no-same-owner -xzf "$_theme" -C "${DESTDIR}/usr/share/icons/" tar --no-same-owner -xzf "$_theme" -C "${DESTDIR}/usr/share/icons/"
done done
find "${DESTDIR}" -type d -exec chmod 755 '{}' \; find "${DESTDIR}" -type d -exec chmod 755 '{}' \;
find "${DESTDIR}" -type f -exec chmod 644 '{}' \; find "${DESTDIR}" -type f -exec chmod 644 '{}' \;
if [ "$build_option_customico" ]; then if [ "$build_option_customico" ]; then
vmkdir "usr/bin" vmkdir "usr/bin"
find "${DESTDIR}" -name awoken-icon-theme-customization\* -exec chmod 755 '{}' \; find "${DESTDIR}" -name awoken-icon-theme-customization\* -exec chmod 755 '{}' \;
ln -sf /usr/share/icons/AwOken/awoken-icon-theme-customization "${DESTDIR}/usr/bin/" ln -sf /usr/share/icons/AwOken/awoken-icon-theme-customization "${DESTDIR}/usr/bin/"
ln -sf /usr/share/icons/AwOken/awoken-icon-theme-customization-clear "${DESTDIR}/usr/bin/" ln -sf /usr/share/icons/AwOken/awoken-icon-theme-customization-clear "${DESTDIR}/usr/bin/"
ln -sf /usr/share/icons/AwOkenDark/awoken-icon-theme-customization-dark "${DESTDIR}/usr/bin/" ln -sf /usr/share/icons/AwOkenDark/awoken-icon-theme-customization-dark "${DESTDIR}/usr/bin/"
ln -sf /usr/share/icons/AwOkenWhite/awoken-icon-theme-customization-white "${DESTDIR}/usr/bin/" ln -sf /usr/share/icons/AwOkenWhite/awoken-icon-theme-customization-white "${DESTDIR}/usr/bin/"
fi fi
} }
awoken-icons-dark_package() { awoken-icons-dark_package() {
depends="awoken-icons>=${version}" depends="awoken-icons>=${version}"
short_desc+=" - Dark icons" short_desc+=" - Dark icons"
noarch="yes" noarch="yes"
pkg_install() { pkg_install() {
vmove usr/share/icons/AwOkenDark/ vmove usr/share/icons/AwOkenDark/
} }
} }
awoken-icons-white_package() { awoken-icons-white_package() {
depends="awoken-icons>=${version}" depends="awoken-icons>=${version}"
short_desc+=" - White icons" short_desc+=" - White icons"
noarch="yes" noarch="yes"
pkg_install() { pkg_install() {
vmove usr/share/icons/AwOkenWhite/ vmove usr/share/icons/AwOkenWhite/
} }
} }