summaryrefslogtreecommitdiff
path: root/community/e-svn/PKGBUILD
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/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/e-svn/PKGBUILD')
-rwxr-xr-xcommunity/e-svn/PKGBUILD73
1 files changed, 73 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
+}
+
+