|
50
|
1 |
ion-3
|
|
|
2 |
|
|
|
3 |
diff --git a/source/custom-x11/ion-3/FrugalBuild b/source/custom-x11/ion-3/FrugalBuild
|
|
|
4 |
new file mode 100644
|
|
|
5 |
index 0000000..e1b81ef
|
|
|
6 |
--- /dev/null
|
|
|
7 |
+++ b/source/custom-x11/ion-3/FrugalBuild
|
|
|
8 |
@@ -0,0 +1,25 @@
|
|
|
9 |
+# Maintainer: Tomas Zeman <tzeman@volny.cz>
|
|
|
10 |
+# Original (ArchLinux) maintainer: thotypous <matiasΘarchlinux-br·org>
|
|
|
11 |
+
|
|
|
12 |
+pkgname="ion-3"
|
|
|
13 |
+pkgver="20080825"
|
|
|
14 |
+pkgrel=1
|
|
|
15 |
+pkgdesc="Tiling tabbed window manager"
|
|
|
16 |
+url="http://modeemi.fi/~tuomov/ion"
|
|
|
17 |
+depends=('libsm' 'libxext' 'lua>=5.1')
|
|
|
18 |
+makedepends=('libtool' 'sed')
|
|
|
19 |
+groups=('custom-x11')
|
|
|
20 |
+archs=('i686')
|
|
|
21 |
+up2date="lynx -dump -nolist $url/download.html|grep 'tar.gz'|head -1|sed 's/.*ion-3-\([0-9]*\).tar.gz.*$/\1/'"
|
|
|
22 |
+source=("http://iki.fi/tuomov/dl/$pkgname-$pkgver.tar.gz" \
|
|
|
23 |
+ "system.mk.diff")
|
|
|
24 |
+sha1sums=('b70a7081b9f255328c5228d6c9a0b3cf946b5667' \
|
|
|
25 |
+ '532191faeadddfbc3bdd2f5906f5752f18e55f2d')
|
|
|
26 |
+
|
|
|
27 |
+build()
|
|
|
28 |
+{
|
|
|
29 |
+ Fcd
|
|
|
30 |
+ Fpatchall
|
|
|
31 |
+ Fmake
|
|
|
32 |
+ make install DESTDIR=$Fdestdir || Fdie
|
|
|
33 |
+}
|
|
|
34 |
diff --git a/source/custom-x11/ion-3/system.mk.diff b/source/custom-x11/ion-3/system.mk.diff
|
|
|
35 |
new file mode 100644
|
|
|
36 |
index 0000000..7853d79
|
|
|
37 |
--- /dev/null
|
|
|
38 |
+++ b/source/custom-x11/ion-3/system.mk.diff
|
|
|
39 |
@@ -0,0 +1,38 @@
|
|
|
40 |
+--- ion-3-20080825/system.mk.orig 2008-08-25 17:44:24.000000000 +0200
|
|
|
41 |
++++ ion-3-20080825/system.mk 2008-10-01 08:33:15.000000000 +0200
|
|
|
42 |
+@@ -8,7 +8,7 @@
|
|
|
43 |
+
|
|
|
44 |
+ # Installation path prefix. Unless you know what you're doing, the default
|
|
|
45 |
+ # of /usr/local is likely the correct choice.
|
|
|
46 |
+-PREFIX=/usr/local
|
|
|
47 |
++PREFIX=$(DESTDIR)/usr
|
|
|
48 |
+
|
|
|
49 |
+ # Unless you are creating a package conforming to some OS's standards, you
|
|
|
50 |
+ # probably do not want to modify the following directories:
|
|
|
51 |
+@@ -16,7 +16,7 @@
|
|
|
52 |
+ # Main binaries
|
|
|
53 |
+ BINDIR=$(PREFIX)/bin
|
|
|
54 |
+ # Configuration .lua files
|
|
|
55 |
+-ETCDIR=$(PREFIX)/etc/ion3
|
|
|
56 |
++ETCDIR=$(DESTDIR)/etc/ion3
|
|
|
57 |
+ # Some .lua files and ion-* shell scripts
|
|
|
58 |
+ SHAREDIR=$(PREFIX)/share/ion3
|
|
|
59 |
+ # Manual pages
|
|
|
60 |
+@@ -62,7 +62,7 @@
|
|
|
61 |
+
|
|
|
62 |
+ # If you have installed Lua 5.1 from the official tarball without changing
|
|
|
63 |
+ # paths, this should do it.
|
|
|
64 |
+-LUA_DIR=/usr/local
|
|
|
65 |
++LUA_DIR=$(DESTDIR)/usr
|
|
|
66 |
+ LUA_LIBS = -L$(LUA_DIR)/lib -llua
|
|
|
67 |
+ LUA_INCLUDES = -I$(LUA_DIR)/include
|
|
|
68 |
+ LUA=$(LUA_DIR)/bin/lua
|
|
|
69 |
+@@ -169,7 +169,7 @@
|
|
|
70 |
+
|
|
|
71 |
+ #C89_SOURCE=-ansi
|
|
|
72 |
+
|
|
|
73 |
+-POSIX_SOURCE=-D_POSIX_C_SOURCE=200112L
|
|
|
74 |
++#POSIX_SOURCE=-D_POSIX_C_SOURCE=200112L
|
|
|
75 |
+
|
|
|
76 |
+ # Most systems
|
|
|
77 |
+ #XOPEN_SOURCE=-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED
|