void-packages/srcpkgs/awoken-icons/template

56 lines
1.8 KiB
Bash
Raw Normal View History

2013-07-07 19:36:00 +00:00
# Template file for 'awoken-icons'
pkgname=awoken-icons
2013-07-28 18:45:34 +00:00
version=2.5.2
revision=2
2013-07-11 06:49:42 +00:00
distfiles="https://dl.dropbox.com/u/8029324/AwOken-2.5.zip"
2013-07-28 18:45:34 +00:00
checksum="d122ee0457079aaa30a664ae582fbc6208414e8728f497dce399ed9f33f9b36e"
hostmakedepends="unzip"
maintainer="Steven R <dev@styez.com>"
2013-07-08 01:37:41 +00:00
homepage="http://alecive.deviantart.com/art/AwOken-163570862"
license="CCPL:by-sa"
short_desc="Simple and quite complete icon set, Token-style"
2013-07-07 19:36:00 +00:00
noarch="yes"
wrksrc="AwOken-2.5"
build_options="customico"
desc_option_customico="Enable support for Custom Icons Themes"
if [ "$build_option_customico" ]; then
2014-02-22 23:44:16 +00:00
depends="zenity xdg-utils ImageMagick"
fi
2013-07-07 19:36:00 +00:00
do_install() {
2014-02-22 23:44:16 +00:00
vmkdir "usr/share/icons"
for _theme in AwOken{,Dark,White}.tar.gz; do
tar --no-same-owner -xzf "$_theme" -C "${DESTDIR}/usr/share/icons/"
done
find "${DESTDIR}" -type d -exec chmod 755 '{}' \;
find "${DESTDIR}" -type f -exec chmod 644 '{}' \;
if [ "$build_option_customico" ]; then
vmkdir "usr/bin"
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-clear "${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/"
fi
2013-07-07 19:36:00 +00:00
}
awoken-icons-dark_package() {
2014-02-22 23:44:16 +00:00
depends="awoken-icons>=${version}"
short_desc+=" - Dark icons"
noarch="yes"
pkg_install() {
vmove usr/share/icons/AwOkenDark/
}
2013-07-07 19:36:00 +00:00
}
awoken-icons-white_package() {
2014-02-22 23:44:16 +00:00
depends="awoken-icons>=${version}"
short_desc+=" - White icons"
noarch="yes"
pkg_install() {
vmove usr/share/icons/AwOkenWhite/
}
2013-07-07 19:36:00 +00:00
}