mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
hicolor-icon-theme: own required runtime dirs.
This commit is contained in:
parent
cdcea64098
commit
22558037ec
1 changed files with 19 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'hicolor-icon-theme'.
|
# Template build file for 'hicolor-icon-theme'.
|
||||||
pkgname=hicolor-icon-theme
|
pkgname=hicolor-icon-theme
|
||||||
version=0.12
|
version=0.12
|
||||||
revision=1
|
revision=2
|
||||||
distfiles="http://icon-theme.freedesktop.org/releases/$pkgname-$version.tar.gz"
|
distfiles="http://icon-theme.freedesktop.org/releases/$pkgname-$version.tar.gz"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
short_desc="Standard icon theme called hicolor"
|
short_desc="Standard icon theme called hicolor"
|
||||||
|
@ -10,5 +10,22 @@ checksum=9edca690617eaa19054951ca53501c802180262be8880ed84754ac46c93bec73
|
||||||
long_desc="
|
long_desc="
|
||||||
Default icon theme called hicolor, from freedesktop.org."
|
Default icon theme called hicolor, from freedesktop.org."
|
||||||
|
|
||||||
keep_empty_dirs=yes
|
|
||||||
noarch=yes
|
noarch=yes
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
dest=usr/share/icons/hicolor
|
||||||
|
# Own all required run time directories.
|
||||||
|
for size in 16 22 24 32 36 48 64 72 96 128 192 256 scalable; do
|
||||||
|
for dir in actions animations apps categories devices \
|
||||||
|
emblems emotes filesystems intl mimetypes places \
|
||||||
|
status stock/chart stock/code stock/data stock/form \
|
||||||
|
stock/image stock/io stock/media stock/navigation \
|
||||||
|
stock/net stock/object stock/table stock/text; do
|
||||||
|
if [ "$size" = "scalable" ]; then
|
||||||
|
touch ${DESTDIR}/${dest}/${size}/${dir}/.owned
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
touch ${DESTDIR}/${dest}/${size}x${size}/${dir}/.owned
|
||||||
|
done
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue