awoken-icons: update template
This commit is contained in:
parent
edeb9d88f7
commit
fddf24e48a
1 changed files with 13 additions and 6 deletions
|
@ -2,9 +2,10 @@
|
|||
pkgname=awoken-icons
|
||||
version=2.5
|
||||
revision=1
|
||||
distfiles="https://launchpad.net/~alecive/+archive/antigone/+files/awoken-icon-theme_2.5~ppa1~raring1.tar.gz"
|
||||
checksum="5ce690b019b7a454065e0585765e346099788589d0c4d66c930dbac5219b39b4"
|
||||
wrksrc="awoken-icon-theme-2.5~ppa1~raring1"
|
||||
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"
|
||||
|
@ -13,26 +14,32 @@ short_desc="Simple and quite complete icon set, Token-style."
|
|||
do_install() {
|
||||
vmkdir "usr/bin"
|
||||
vmkdir "usr/share/icons"
|
||||
cp -r ./AwOken{,Dark,White} "${DESTDIR}/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/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"
|
||||
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"
|
||||
pkg_install() {
|
||||
vmove usr/share/icons/AwOkenWhite
|
||||
vmove usr/bin/awoken-icon-theme-customization-white
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -41,6 +48,6 @@ awoken-icons_package() {
|
|||
depends="zenity xdg-utils ImageMagick"
|
||||
pkg_install() {
|
||||
vmove usr/share/icons/AwOken
|
||||
vmove usr/bin
|
||||
vmove usr/bin/awoken-icon-theme-customization
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue