void-packages/srcpkgs/awoken-icons/template

49 lines
1.6 KiB
Plaintext
Raw Normal View History

2013-07-07 21:36:00 +02:00
# Template file for 'awoken-icons'
pkgname=awoken-icons
2013-07-28 20:45:34 +02:00
version=2.5.2
2013-07-07 21:36:00 +02:00
revision=1
noarch="yes"
2013-07-11 08:49:42 +02:00
distfiles="https://dl.dropbox.com/u/8029324/AwOken-2.5.zip"
2013-07-28 20:45:34 +02:00
checksum="d122ee0457079aaa30a664ae582fbc6208414e8728f497dce399ed9f33f9b36e"
2013-07-11 08:49:42 +02:00
makedepends="unzip"
depends="zenity xdg-utils ImageMagick"
2013-07-11 08:49:42 +02:00
wrksrc="AwOken-2.5"
2013-07-08 03:37:41 +02:00
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"
2013-07-07 21:36:00 +02:00
do_install() {
vmkdir "usr/bin"
vmkdir "usr/share/icons"
2013-07-11 08:49:42 +02:00
for _theme in AwOken{,Dark,White}.tar.gz; do
tar --no-same-owner -xzf "$_theme" -C "${DESTDIR}/usr/share/icons/"
done
2013-07-07 21:36:00 +02:00
find "${DESTDIR}" -type d -exec chmod 755 '{}' \;
find "${DESTDIR}" -type f -exec chmod 644 '{}' \;
find "${DESTDIR}" -name awoken-icon-theme-customization\* -exec chmod 755 '{}' \;
2013-07-11 08:49:42 +02:00
ln -sf /usr/share/icons/AwOken/awoken-icon-theme-customization "${DESTDIR}/usr/bin/"
2013-07-07 21:36:00 +02:00
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() {
2013-07-11 08:49:42 +02:00
depends="awoken-icons>=${version}"
2013-07-07 21:36:00 +02:00
short_desc+=" - Dark icons"
2013-07-11 09:50:01 +02:00
noarch="yes"
2013-07-07 21:36:00 +02:00
pkg_install() {
vmove usr/share/icons/AwOkenDark
2013-07-11 08:49:42 +02:00
vmove usr/bin/awoken-icon-theme-customization-dark
2013-07-07 21:36:00 +02:00
}
}
awoken-icons-white_package() {
2013-07-11 08:49:42 +02:00
depends="awoken-icons>=${version}"
2013-07-07 21:36:00 +02:00
short_desc+=" - White icons"
2013-07-11 09:50:01 +02:00
noarch="yes"
2013-07-07 21:36:00 +02:00
pkg_install() {
vmove usr/share/icons/AwOkenWhite
2013-07-11 08:49:42 +02:00
vmove usr/bin/awoken-icon-theme-customization-white
2013-07-07 21:36:00 +02:00
}
}