2008-10-11 02:03:45 +02:00
|
|
|
# Template build file for 'hicolor-icon-theme'.
|
|
|
|
pkgname=hicolor-icon-theme
|
2010-01-18 13:42:51 +01:00
|
|
|
version=0.12
|
2013-03-31 09:51:14 +02:00
|
|
|
revision=3
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2008-10-11 02:03:45 +02:00
|
|
|
short_desc="Standard icon theme called hicolor"
|
2013-03-31 09:51:14 +02:00
|
|
|
homepage="http://icon-theme.freedesktop.org/wiki/HicolorTheme"
|
|
|
|
license="GPL-2"
|
2008-10-11 02:03:45 +02:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-04-12 15:42:53 +02:00
|
|
|
distfiles="http://icon-theme.freedesktop.org/releases/$pkgname-$version.tar.gz"
|
2010-01-18 13:42:51 +01:00
|
|
|
checksum=9edca690617eaa19054951ca53501c802180262be8880ed84754ac46c93bec73
|
2008-10-11 02:03:45 +02:00
|
|
|
long_desc="
|
|
|
|
Default icon theme called hicolor, from freedesktop.org."
|
|
|
|
|
2011-11-09 17:14:15 +01:00
|
|
|
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
|
|
|
|
}
|
2013-04-12 15:42:53 +02:00
|
|
|
|
|
|
|
hicolor-icon-theme_package() {
|
|
|
|
noarch="yes"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|