From 5db8b788eb28cfbd991967cc8a7f0c477324a6cb Mon Sep 17 00:00:00 2001 From: wertyi48 Date: Sun, 7 Jul 2013 16:36:00 -0300 Subject: [PATCH] New package: awoken-icons-2.5. --- srcpkgs/awoken-icons-dark | 1 + srcpkgs/awoken-icons-white | 1 + srcpkgs/awoken-icons/template | 54 +++++++++++++++++++++++++++++++++++ 3 files changed, 56 insertions(+) create mode 120000 srcpkgs/awoken-icons-dark create mode 120000 srcpkgs/awoken-icons-white create mode 100644 srcpkgs/awoken-icons/template diff --git a/srcpkgs/awoken-icons-dark b/srcpkgs/awoken-icons-dark new file mode 120000 index 00000000000..a8bfaf4c021 --- /dev/null +++ b/srcpkgs/awoken-icons-dark @@ -0,0 +1 @@ +awoken-icons/ \ No newline at end of file diff --git a/srcpkgs/awoken-icons-white b/srcpkgs/awoken-icons-white new file mode 120000 index 00000000000..a8bfaf4c021 --- /dev/null +++ b/srcpkgs/awoken-icons-white @@ -0,0 +1 @@ +awoken-icons/ \ No newline at end of file diff --git a/srcpkgs/awoken-icons/template b/srcpkgs/awoken-icons/template new file mode 100644 index 00000000000..7c829a49d41 --- /dev/null +++ b/srcpkgs/awoken-icons/template @@ -0,0 +1,54 @@ +# Template file for 'awoken-icons' +pkgname=awoken-icons +version=2.5 +revision=1 +short_desc="Simple and quite complete icon set, Token-style." +maintainer="Steven R " +license="CCPL:by-sa" +homepage="http://alecive.deviantart.com/art/AwOken-163570862" +distfiles="https://launchpad.net/~alecive/+archive/antigone/+files/awoken-icon-theme_2.5~ppa1~raring1.tar.gz" +checksum="5ce690b019b7a454065e0585765e346099788589d0c4d66c930dbac5219b39b4" +# makedepends="unzip" +long_desc=" +AwOken icon theme is a full Token-style iconset for GNOME, designed to be complete and stylish. + Choose it if you want to change significantly your desktop experience." +wrksrc="awoken-icon-theme-2.5~ppa1~raring1" + +do_install() { + vmkdir "usr/bin" + vmkdir "usr/share/icons" + + cp -r ./AwOken{,Dark,White} "${DESTDIR}/usr/share/icons/" + + 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() { + short_desc+=" - Dark icons" + pkg_install() { + vmove usr/share/icons/AwOkenDark + } +} + +awoken-icons-white_package() { + short_desc+=" - White icons" + pkg_install() { + vmove usr/share/icons/AwOkenWhite + } +} + +awoken-icons_package() { + noarch="yes" + depends="zenity xdg-utils ImageMagick" + pkg_install() { + vmove usr/share/icons/AwOken + vmove usr/bin + } +} \ No newline at end of file