Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=f9134ee04006f459d38abc3447ef6b830cb43557

commit f9134ee04006f459d38abc3447ef6b830cb43557
Author: James Buren <[EMAIL PROTECTED]>
Date:   Sat Dec 6 03:44:44 2008 -0600

echinus-0.3.2-1-i686
* version bump
* remove old README and replace with a shell script wrapper

diff --git a/source/x11-extra/echinus/FrugalBuild 
b/source/x11-extra/echinus/FrugalBuild
index 646e242..218abd9 100644
--- a/source/x11-extra/echinus/FrugalBuild
+++ b/source/x11-extra/echinus/FrugalBuild
@@ -2,7 +2,7 @@
# Maintainer: James Buren <[EMAIL PROTECTED]>

pkgname=echinus
-pkgver=0.3.1
+pkgver=0.3.2
pkgrel=1
pkgdesc="A minimal WM supporting floating, tiled, and maximized layouts."
url="http://www.rootshell.be/~polachok/code";
@@ -10,17 +10,18 @@ depends=('libxft' 'zlib')
groups=('x11-extra')
archs=('i686' 'x86_64')
up2date="Flasttar $url"
-source=($url/$pkgname-$pkgver.tar.gz)
-sha1sums=('d409c9970a3833b44ecc38ff27d2538b56ab7853')
+source=($url/$pkgname-$pkgver.tar.gz echinus)
+sha1sums=('b22816f624434bf938e874ae62a6d053b0f95df6' \
+          '425c041e4be401d116916b685722c11533cb1612')

build()
{
Fsed "-Os" "${CFLAGS}" config.mk
-       Fmake
-       Fexerel /usr/bin/$pkgname
-       Fmanrel $pkgname.1
-       Ffilerel *.xbm /usr/share/$pkgname
-       Ffilerel /usr/share/$pkgname/${pkgname}rc
+       Fsed "/usr/local" "/usr" config.mk
+       Fsed "/share/examples" "/share" {config.mk,Makefile}
+       Fbuild
+       Fmv /usr/bin/echinus /usr/bin/echinus-bin
+       Fexe /usr/bin/echinus
}

# optimization OK
diff --git a/source/x11-extra/echinus/README.Frugalware 
b/source/x11-extra/echinus/README.Frugalware
deleted file mode 100644
index 9942f0b..0000000
--- a/source/x11-extra/echinus/README.Frugalware
+++ /dev/null
@@ -1,9 +0,0 @@
-Be sure to copy the contents of /usr/share/echinus to $HOME/.echinus or
-~/.echinus in order to setup the defaults for this window manager properly. If
-you need more specific instructions, please use these commands below to
-accomplish this task.
-
-(Run these as the user your wanting to run echinus as.)
-
-mkdir -p ~/.echinus
-cp -r /usr/share/echinus/* ~/.echinus
diff --git a/source/x11-extra/echinus/echinus b/source/x11-extra/echinus/echinus
new file mode 100644
index 0000000..71d3bc3
--- /dev/null
+++ b/source/x11-extra/echinus/echinus
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if [ ! -d "$HOME/.echinus" ]; then
+       mkdir -p "$HOME/.echinus"
+       cp /usr/share/echinus/* "$HOME/.echinus"
+fi
+
+exec /usr/bin/echinus-bin "$@"
\ No newline at end of file
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to