summaryrefslogtreecommitdiff
path: root/community/e-svn
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/e-svn
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/e-svn')
-rwxr-xr-xcommunity/e-svn/PKGBUILD73
-rw-r--r--community/e-svn/e-applications.menu154
-rw-r--r--community/e-svn/sysactions.patch13
3 files changed, 240 insertions, 0 deletions
diff --git a/community/e-svn/PKGBUILD b/community/e-svn/PKGBUILD
new file mode 100755
index 000000000..82098dae9
--- /dev/null
+++ b/community/e-svn/PKGBUILD
@@ -0,0 +1,73 @@
+# $Id: PKGBUILD 41234 2011-03-04 22:18:13Z rvanharen $
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Ronald van Haren <ronald.archlinux.org>
+
+pkgname=e-svn
+pkgver=57517
+pkgrel=1
+pkgdesc="Enlightenment window manager DR17 (aka e17)"
+arch=('i686' 'x86_64')
+groups=('e17-svn')
+url="http://www.enlightenment.org"
+license=('BSD')
+depends=('e_dbus-svn' 'edje-svn' 'efreet-svn' 'alsa-lib' 'pm-utils'
+ 'pam' 'eeze-svn')
+makedepends=('svn')
+conflicts=('e')
+provides=('e')
+backup=('etc/enlightenment/sysactions.conf')
+options=('!libtool')
+source=('e-applications.menu' 'sysactions.patch')
+sha1sums=('e08cc63cb8a188a06705b42d03e032b9fcfa7ee5'
+ '1bbe1bb1ba8c10098c3c30dc5a97734158abb2c7')
+
+_svntrunk="http://svn.enlightenment.org/svn/e/trunk/e"
+_svnmod="e"
+
+build() {
+ cd $srcdir
+
+msg "Connecting to $_svntrunk SVN server...."
+ if [ -d $_svnmod/.svn ]; then
+ (cd $_svnmod && svn up -r $pkgver)
+ else
+ svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
+ fi
+
+ msg "SVN checkout done or server timeout"
+ msg "Starting make..."
+
+ cp -r $_svnmod $_svnmod-build
+ cd $_svnmod-build
+
+ # set default suspend/hibernate commands in config file
+ patch -Np0 -i ${srcdir}/sysactions.patch
+
+ ./autogen.sh --prefix=/usr --sysconfdir=/etc --enable-pam
+ make
+}
+
+package() {
+ cd $srcdir/$_svnmod-build
+
+ make DESTDIR=$pkgdir install
+
+# install license files
+ if [ -e $srcdir/$_svnmod-build/COPYING ]; then
+ install -Dm644 $srcdir/$_svnmod-build/COPYING \
+ $pkgdir/usr/share/licenses/$pkgname/COPYING
+ fi
+
+ if [ -e $srcdir/$_svnmod-build/COPYING-PLAIN ]; then
+ install -Dm644 $srcdir/$_svnmod-build/COPYING-PLAIN \
+ $pkgdir/usr/share/licenses/$pkgname/COPYING-PLAIN
+ fi
+
+ # install a default applications.menu file (mostly copy from gnome-menus)
+ install -Dm644 $srcdir/e-applications.menu \
+ $pkgdir/etc/xdg/menus/e-applications.menu
+
+ rm -r $srcdir/$_svnmod-build
+}
+
+
diff --git a/community/e-svn/e-applications.menu b/community/e-svn/e-applications.menu
new file mode 100644
index 000000000..69456c1d5
--- /dev/null
+++ b/community/e-svn/e-applications.menu
@@ -0,0 +1,154 @@
+<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
+ "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">
+
+<Menu>
+
+ <Name>Applications</Name>
+ <Directory>X-E-Menu-Applications.directory</Directory>
+
+ <!-- Scan legacy dirs first, as later items take priority -->
+ <KDELegacyDirs/>
+ <LegacyDir>/etc/X11/applnk</LegacyDir>
+ <LegacyDir>/usr/share/gnome/apps</LegacyDir>
+
+ <!-- Read standard .directory and .desktop file locations -->
+ <DefaultAppDirs/>
+ <DefaultDirectoryDirs/>
+
+ <!-- Read in overrides and child menus from applications-merged/ -->
+ <DefaultMergeDirs/>
+
+ <!-- Accessories submenu -->
+ <Menu>
+ <Name>Accessories</Name>
+ <Directory>Utility.directory</Directory>
+ <Include>
+ <And>
+ <Category>Utility</Category>
+ <!-- Accessibility spec must have either the Utility or Settings
+ category, and we display an accessibility submenu already for
+ the ones that do not have Settings, so don't display accessibility
+ applications here -->
+ <Not><Category>Accessibility</Category></Not>
+ <Not><Category>System</Category></Not>
+ </And>
+ </Include>
+ </Menu> <!-- End Accessories -->
+
+ <!-- Accessibility submenu -->
+ <Menu>
+ <Name>Universal Access</Name>
+ <Directory>Utility-Accessibility.directory</Directory>
+ <Include>
+ <And>
+ <Category>Accessibility</Category>
+ <Not><Category>Settings</Category></Not>
+ </And>
+ </Include>
+ </Menu> <!-- End Accessibility -->
+
+ <!-- Development Tools -->
+ <Menu>
+ <Name>Development</Name>
+ <Directory>Development.directory</Directory>
+ <Include>
+ <And>
+ <Category>Development</Category>
+ </And>
+ <Filename>emacs.desktop</Filename>
+ </Include>
+ </Menu> <!-- End Development Tools -->
+
+ <!-- Education -->
+ <Menu>
+ <Name>Education</Name>
+ <Directory>Education.directory</Directory>
+ <Include>
+ <And>
+ <Category>Education</Category>
+ </And>
+ </Include>
+ </Menu> <!-- End Education -->
+
+ <!-- Games -->
+ <Menu>
+ <Name>Games</Name>
+ <Directory>Game.directory</Directory>
+ <Include>
+ <And>
+ <Category>Game</Category>
+ </And>
+ </Include>
+ </Menu> <!-- End Games -->
+
+ <!-- Graphics -->
+ <Menu>
+ <Name>Graphics</Name>
+ <Directory>Graphics.directory</Directory>
+ <Include>
+ <And>
+ <Category>Graphics</Category>
+ </And>
+ </Include>
+ </Menu> <!-- End Graphics -->
+
+ <!-- Internet -->
+ <Menu>
+ <Name>Internet</Name>
+ <Directory>Network.directory</Directory>
+ <Include>
+ <And>
+ <Category>Network</Category>
+ </And>
+ </Include>
+ </Menu> <!-- End Internet -->
+
+ <!-- Multimedia -->
+ <Menu>
+ <Name>Multimedia</Name>
+ <Directory>AudioVideo.directory</Directory>
+ <Include>
+ <And>
+ <Category>AudioVideo</Category>
+ </And>
+ </Include>
+ </Menu> <!-- End Multimedia -->
+
+ <!-- Office -->
+ <Menu>
+ <Name>Office</Name>
+ <Directory>Office.directory</Directory>
+ <Include>
+ <And>
+ <Category>Office</Category>
+ </And>
+ </Include>
+ </Menu> <!-- End Office -->
+
+ <!-- System Tools-->
+ <Menu>
+ <Name>System</Name>
+ <Directory>System-Tools.directory</Directory>
+ <Include>
+ <And>
+ <Category>System</Category>
+ <Not><Category>Settings</Category></Not>
+ </And>
+ </Include>
+ </Menu> <!-- End System Tools -->
+
+ <!-- Other -->
+ <Menu>
+ <Name>Other</Name>
+ <Directory>X-GNOME-Other.directory</Directory>
+ <OnlyUnallocated/>
+ <Include>
+ <And>
+ <Not><Category>Core</Category></Not>
+ <Not><Category>Settings</Category></Not>
+ <Not><Category>Screensaver</Category></Not>
+ </And>
+ </Include>
+ </Menu> <!-- End Other -->
+
+</Menu> <!-- End Applications -->
diff --git a/community/e-svn/sysactions.patch b/community/e-svn/sysactions.patch
new file mode 100644
index 000000000..c8333f327
--- /dev/null
+++ b/community/e-svn/sysactions.patch
@@ -0,0 +1,13 @@
+--- data/etc/sysactions.conf.bak 2011-02-25 18:25:13.210000005 +0100
++++ data/etc/sysactions.conf 2011-02-25 18:25:18.160000006 +0100
+@@ -45,8 +45,8 @@
+
+ action: halt /sbin/shutdown -h now
+ action: reboot /sbin/shutdown -r now
+-action: suspend /etc/acpi/sleep.sh force
+-action: hibernate /etc/acpi/hibernate.sh force
++action: suspend /usr/sbin/pm-suspend
++action: hibernate /usr/sbin/pm-hibernate
+
+ # on FreeBSD use this instead of the above.
+ #action suspend /usr/sbin/zzz