void-packages/srcpkgs/awoken-icons/template
2013-07-17 22:29:52 -03:00

55 lines
No EOL
1.7 KiB
Text

# Template file for 'awoken-icons'
pkgname=awoken-icons
version=2.5
revision=1
distfiles="https://dl.dropbox.com/u/8029324/AwOken-2.5.zip"
checksum="f88b041991012b2129061e56a47f23bcb1b647f38cb493bd23a6774095b85ce3"
makedepends="unzip"
wrksrc="AwOken-2.5"
maintainer="Steven R <strob AT styez DOT com>"
homepage="http://alecive.deviantart.com/art/AwOken-163570862"
license="CCPL:by-sa"
short_desc="Simple and quite complete icon set, Token-style."
do_install() {
vmkdir "usr/bin"
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 '{}' \;
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/AwOkenDark/awoken-icon-theme-customization-dark "${DESTDIR}/usr/bin/"
ln -sf /usr/share/icons/AwOkenWhite/awoken-icon-theme-customization-white "${DESTDIR}/usr/bin/"
}
awoken-icons-dark_package() {
depends="awoken-icons>=${version}"
short_desc+=" - Dark icons"
noarch="yes"
pkg_install() {
vmove usr/share/icons/AwOkenDark
vmove usr/bin/awoken-icon-theme-customization-dark
}
}
awoken-icons-white_package() {
depends="awoken-icons>=${version}"
short_desc+=" - White icons"
noarch="yes"
pkg_install() {
vmove usr/share/icons/AwOkenWhite
vmove usr/bin/awoken-icon-theme-customization-white
}
}
awoken-icons_package() {
noarch="yes"
depends="zenity xdg-utils ImageMagick"
pkg_install() {
vmove usr/share/icons/AwOken
vmove usr/bin/awoken-icon-theme-customization
}
}