[banshee] [build] moblin-icon-theme package (unused)
- From: Aaron Bockover <abock src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [banshee] [build] moblin-icon-theme package (unused)
- Date: Tue, 19 Jan 2010 19:07:57 +0000 (UTC)
commit 090640db550d805452ceeaa965455dfbe7e7fc06
Author: Aaron Bockover <abockover novell com>
Date: Tue Jan 19 14:07:29 2010 -0500
[build] moblin-icon-theme package (unused)
Not in use, but I wanted to see what it looked like.
build/bundle/packages/moblin-icon-theme.py | 22 ++++++++++++++++++++++
1 files changed, 22 insertions(+), 0 deletions(-)
---
diff --git a/build/bundle/packages/moblin-icon-theme.py b/build/bundle/packages/moblin-icon-theme.py
new file mode 100644
index 0000000..648ddd9
--- /dev/null
+++ b/build/bundle/packages/moblin-icon-theme.py
@@ -0,0 +1,22 @@
+class MoblinIconThemePackage (Package):
+ def __init__ (self):
+ Package.__init__ (self, 'moblin-icon-theme', '2.0.9')
+ self.sources = [
+ 'http://suse-moblin.com/%{name}/%{name}-%{version}.tar.bz2'
+ ]
+
+ self.bad_prefix = '%{prefix}/_tmp'
+ self.icons_dir = '%{prefix}/share/icons'
+
+ def build (self):
+ self.sh ('autoreconf -fi')
+ self.sh ('./configure')
+
+ def install (self):
+ self.sh ('mkdir -p "%{icons_dir}"')
+ self.sh ('rm -rf -- "%{icons_dir}/moblin"')
+ self.sh ('LANG=en_US %{makeinstall} DESTDIR="%{bad_prefix}"')
+ self.sh ('mv "%{bad_prefix}/usr/local/share/icons/moblin" "%{icons_dir}"')
+ self.sh ('rm -rf -- "%{bad_prefix}"')
+
+MoblinIconThemePackage ()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]