ion-3.patch
changeset 50 8a5adf384c61
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ion-3.patch	Wed Oct 01 09:14:08 2008 +0200
@@ -0,0 +1,77 @@
+ion-3
+
+diff --git a/source/custom-x11/ion-3/FrugalBuild b/source/custom-x11/ion-3/FrugalBuild
+new file mode 100644
+index 0000000..e1b81ef
+--- /dev/null
++++ b/source/custom-x11/ion-3/FrugalBuild
+@@ -0,0 +1,25 @@
++# Maintainer: Tomas Zeman <tzeman@volny.cz>
++# Original (ArchLinux) maintainer: thotypous <matiasΘarchlinux-br·org>
++
++pkgname="ion-3"
++pkgver="20080825"
++pkgrel=1
++pkgdesc="Tiling tabbed window manager"
++url="http://modeemi.fi/~tuomov/ion"
++depends=('libsm' 'libxext' 'lua>=5.1')
++makedepends=('libtool' 'sed')
++groups=('custom-x11')
++archs=('i686')
++up2date="lynx -dump -nolist $url/download.html|grep 'tar.gz'|head -1|sed 's/.*ion-3-\([0-9]*\).tar.gz.*$/\1/'"
++source=("http://iki.fi/tuomov/dl/$pkgname-$pkgver.tar.gz" \
++	"system.mk.diff")
++sha1sums=('b70a7081b9f255328c5228d6c9a0b3cf946b5667' \
++          '532191faeadddfbc3bdd2f5906f5752f18e55f2d')
++
++build()
++{
++	Fcd
++	Fpatchall
++	Fmake
++	make install DESTDIR=$Fdestdir || Fdie
++}
+diff --git a/source/custom-x11/ion-3/system.mk.diff b/source/custom-x11/ion-3/system.mk.diff
+new file mode 100644
+index 0000000..7853d79
+--- /dev/null
++++ b/source/custom-x11/ion-3/system.mk.diff
+@@ -0,0 +1,38 @@
++--- ion-3-20080825/system.mk.orig	2008-08-25 17:44:24.000000000 +0200
+++++ ion-3-20080825/system.mk	2008-10-01 08:33:15.000000000 +0200
++@@ -8,7 +8,7 @@
++ 
++ # Installation path prefix. Unless you know what you're doing, the default
++ # of /usr/local is likely the correct choice.
++-PREFIX=/usr/local
+++PREFIX=$(DESTDIR)/usr
++ 
++ # Unless you are creating a package conforming to some OS's standards, you
++ # probably do not want to modify the following directories:
++@@ -16,7 +16,7 @@
++ # Main binaries
++ BINDIR=$(PREFIX)/bin
++ # Configuration .lua files
++-ETCDIR=$(PREFIX)/etc/ion3
+++ETCDIR=$(DESTDIR)/etc/ion3
++ # Some .lua files and ion-* shell scripts
++ SHAREDIR=$(PREFIX)/share/ion3
++ # Manual pages
++@@ -62,7 +62,7 @@
++ 
++ # If you have installed Lua 5.1 from the official tarball without changing
++ # paths, this should do it.
++-LUA_DIR=/usr/local
+++LUA_DIR=$(DESTDIR)/usr
++ LUA_LIBS = -L$(LUA_DIR)/lib -llua
++ LUA_INCLUDES = -I$(LUA_DIR)/include
++ LUA=$(LUA_DIR)/bin/lua
++@@ -169,7 +169,7 @@
++ 
++ #C89_SOURCE=-ansi
++ 
++-POSIX_SOURCE=-D_POSIX_C_SOURCE=200112L
+++#POSIX_SOURCE=-D_POSIX_C_SOURCE=200112L
++ 
++ # Most systems
++ #XOPEN_SOURCE=-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED