# HG changeset patch # User Anders Bergh # Date 1197863071 -3600 # Node ID c42d991ddcdbc47768e336381ef4a575370c58f1 # Parent f595a447aa22437eac34f399a1e3034184de4bb3 Add utils dir (sync scripts etc will go here) Add my AUR package sources Add some more things to .hgignore diff -r f595a447aa22 -r c42d991ddcdb .hgignore --- a/.hgignore Mon Dec 17 04:30:49 2007 +0100 +++ b/.hgignore Mon Dec 17 04:44:31 2007 +0100 @@ -2,3 +2,8 @@ *~ i686 x86_64 +*.gz +*.bz2 +*.zip +pkg +src diff -r f595a447aa22 -r c42d991ddcdb sources/copas/LICENSE --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/copas/LICENSE Mon Dec 17 04:44:31 2007 +0100 @@ -0,0 +1,20 @@ +Copyright © 2005-2007 The Kepler Project. + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff -r f595a447aa22 -r c42d991ddcdb sources/copas/PKGBUILD --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/copas/PKGBUILD Mon Dec 17 04:44:31 2007 +0100 @@ -0,0 +1,26 @@ +# Contributor: Anders Bergh +pkgname=copas +pkgver=1.1.1 +pkgrel=1 +pkgdesc="Coroutine Oriented Portable Asynchronous Services for Lua" +arch=('i686' 'x86_64') +url="http://www.keplerproject.org/copas/" +license=('custom') +depends=('lua' 'luasocket') +source=('http://luaforge.net/frs/download.php/2559/copas-1.1.1.tar.gz' + 'LICENSE') +md5sums=('92e50bd367af81c7a50d349990f9ad97' + '001e5e34c6e51b2c8501fd1c9dfad9fe') + +build() { + cd "$startdir/src/$pkgname-$pkgver" + + mkdir -p "$startdir/pkg/usr/share/lua/5.1/copas" + cp src/copas/copas.lua "$startdir/pkg/usr/share/lua/5.1/copas" + ln -s /usr/share/lua/5.1/copas/copas.lua "$startdir/pkg/usr/share/lua/copas.lua" + + mkdir -p "$startdir/pkg/usr/share/licenses/copas" + cp LICENSE "$startdir/pkg/usr/share/licenses/copas" +} + +# vim:set ts=2 sw=2 et: diff -r f595a447aa22 -r c42d991ddcdb sources/dmd/PKGBUILD --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/dmd/PKGBUILD Mon Dec 17 04:44:31 2007 +0100 @@ -0,0 +1,30 @@ +# Maintainer: Anders Bergh +# Contributor: Alexander Fehr +pkgname=dmd +pkgver=1.024 +pkgrel=1 +pkgdesc="The Digital Mars D compiler." +arch=('i686') +url="http://www.digitalmars.com/d/1.0/" +source=(http://ftp.digitalmars.com/$pkgname.$pkgver.zip) +md5sums=('249eb2a3b337ad4918444bb684219687') +provides=('d-compiler' 'd-dmd') +license=('custom') +options=('!strip') +makedepends=('unzip') + +build() { + # Copy the license + mkdir -p $startdir/pkg/usr/share/licenses/dmd || return 1 + cp $startdir/src/dmd/license.txt $startdir/pkg/usr/share/licenses/dmd/COPYING || return 1 + + mkdir -p $startdir/pkg/usr/bin || return 1 + install -m755 $startdir/src/dmd/bin/dmd $startdir/pkg/usr/bin || return 1 + install -m755 $startdir/src/dmd/bin/dumpobj $startdir/pkg/usr/bin || return 1 + install -m755 $startdir/src/dmd/bin/obj2asm $startdir/pkg/usr/bin || return 1 + install -m755 $startdir/src/dmd/bin/rdmd $startdir/pkg/usr/bin || return 1 + + mkdir -p $startdir/pkg/usr/man/man{1,5} + install -m644 $startdir/src/dmd/man/man1/*.1 $startdir/pkg/usr/man/man1 + install -m644 $startdir/src/dmd/man/man1/*.5 $startdir/pkg/usr/man/man5 +} diff -r f595a447aa22 -r c42d991ddcdb sources/dmdirc-nightly/DMDirc.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/dmdirc-nightly/DMDirc.desktop Mon Dec 17 04:44:31 2007 +0100 @@ -0,0 +1,12 @@ +[Desktop Entry] +Categories=Network;IRCClient; +Comment=DMDirc IRC Client +Encoding=UTF-8 +Exec=java -jar /usr/share/java/dmdirc/DMDirc.jar +GenericName=IRC Client +Icon=/usr/share/java/dmdirc/DMDirc.svg +Name=DMDirc +StartupNotify=true +Terminal=false +TerminalOptions= +Type=Application diff -r f595a447aa22 -r c42d991ddcdb sources/dmdirc-nightly/DMDirc.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/dmdirc-nightly/DMDirc.svg Mon Dec 17 04:44:31 2007 +0100 @@ -0,0 +1,93 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + diff -r f595a447aa22 -r c42d991ddcdb sources/dmdirc-nightly/PKGBUILD --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/dmdirc-nightly/PKGBUILD Mon Dec 17 04:44:31 2007 +0100 @@ -0,0 +1,30 @@ +# Contributor: Anders Bergh +pkgname=dmdirc-nightly +pkgver=20071103 +pkgrel=1 +pkgdesc="DMDirc is a cross-platform IRC client written in Java." +arch=(i686 x86_64) +url="http://www.dmdirc.com/en/" +license=('MIT') +depends=(java-runtime) +source=(http://www.dmdirc.com/nightly/DMDirc_latest.jar + DMDirc.desktop + DMDirc.svg + dmdirc) +provides=('dmdirc') +conflicts=('dmdirc') +md5sums=() + +build() { + cd "$startdir/src" + mkdir -p "$startdir/pkg/usr/share/java/dmdirc" + mkdir -p "$startdir/pkg/usr/share/applications" + mkdir -p "$startdir/pkg/usr/bin" + + install -m644 DMDirc_latest.jar "$startdir/pkg/usr/share/java/dmdirc/DMDirc.jar" + install -m644 DMDirc.svg "$startdir/pkg/usr/share/java/dmdirc" + install -m644 DMDirc.desktop "$startdir/pkg/usr/share/applications" + install -m755 dmdirc "$startdir/pkg/usr/bin" +} + +# vim:set ts=2 sw=2 et: diff -r f595a447aa22 -r c42d991ddcdb sources/dmdirc-nightly/dmdirc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/dmdirc-nightly/dmdirc Mon Dec 17 04:44:31 2007 +0100 @@ -0,0 +1,2 @@ +#!/bin/bash +java -jar /usr/share/java/dmdirc/DMDirc.jar diff -r f595a447aa22 -r c42d991ddcdb sources/dmdirc/DMDirc.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/dmdirc/DMDirc.desktop Mon Dec 17 04:44:31 2007 +0100 @@ -0,0 +1,12 @@ +[Desktop Entry] +Categories=Network;IRCClient; +Comment=DMDirc IRC Client +Encoding=UTF-8 +Exec=java -jar /usr/share/java/dmdirc/DMDirc.jar +GenericName=IRC Client +Icon=/usr/share/java/dmdirc/DMDirc.svg +Name=DMDirc +StartupNotify=true +Terminal=false +TerminalOptions= +Type=Application diff -r f595a447aa22 -r c42d991ddcdb sources/dmdirc/DMDirc.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/dmdirc/DMDirc.svg Mon Dec 17 04:44:31 2007 +0100 @@ -0,0 +1,93 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + diff -r f595a447aa22 -r c42d991ddcdb sources/dmdirc/PKGBUILD --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/dmdirc/PKGBUILD Mon Dec 17 04:44:31 2007 +0100 @@ -0,0 +1,31 @@ +# Contributor: Anders Bergh +pkgname=dmdirc +pkgver=0.5.1 +pkgrel=2 +pkgdesc="DMDirc is a cross-platform IRC client written in Java." +arch=(i686 x86_64) +url="http://www.dmdirc.com/en/" +license=('MIT') +depends=(java-runtime) +source=(http://dmdirc.googlecode.com/files/DMDirc-$pkgver.jar + DMDirc.desktop + DMDirc.svg + dmdirc) +md5sums=('f602f44b72907ae209d90c1478e63a5e' + '64058ea0c3861c9246f7eff8f0cdeb62' + '74b7ba9c92da7bd41a0545f103aa99b6' + '0b2e83062e6c6f0a46caf49def957f80') + +build() { + cd "$startdir/src" + mkdir -p "$startdir/pkg/usr/share/java/dmdirc" + mkdir -p "$startdir/pkg/usr/share/applications" + mkdir -p "$startdir/pkg/usr/bin" + + install -m644 DMDirc-$pkgver.jar "$startdir/pkg/usr/share/java/dmdirc/DMDirc.jar" + install -m644 DMDirc.svg "$startdir/pkg/usr/share/java/dmdirc" + install -m644 DMDirc.desktop "$startdir/pkg/usr/share/applications" + install -m755 dmdirc "$startdir/pkg/usr/bin" +} + +# vim:set ts=2 sw=2 et: diff -r f595a447aa22 -r c42d991ddcdb sources/dmdirc/dmdirc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/dmdirc/dmdirc Mon Dec 17 04:44:31 2007 +0100 @@ -0,0 +1,2 @@ +#!/bin/bash +java -jar /usr/share/java/dmdirc/DMDirc.jar diff -r f595a447aa22 -r c42d991ddcdb sources/dsss/PKGBUILD --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/dsss/PKGBUILD Mon Dec 17 04:44:31 2007 +0100 @@ -0,0 +1,37 @@ +# Contributor: Ustalov "eveel" Dmitry + +pkgname="dsss" +pkgver="0.73" +pkgrel=3 +pkgdesc="DSSS, the D Shared Software System" +arch=(i686 x86_64) +url="http://dsource.org/projects/dsss" +license=('MIT') +makedepends=('gcc') +depends=('d-compiler' 'libphobos') +source=("http://svn.dsource.org/projects/dsss/downloads/${pkgver}/dsss-${pkgver}.tar.bz2") +md5sums=('c0699749e07f10fad550a0ab976d3751') + +build() { + cd "$startdir/src/${pkgname}-${pkgver}" + + export MAKEFLAGS="-j1" + if [ "$(pacman -Q dmd)" != "" ]; then + make -f Makefile.dmd.posix + elif [ "$(pacman -Q gdc)" != "" ]; then + make -f Makefile.gdc.posix + else + error "You should install dmd or gdc, before compiling dsss" + return 1 + fi + + ./dsss install \ + --prefix="$startdir/pkg/usr" \ + --libdir="$startdir/pkg/usr/lib" \ + --includedir="$startdir/pkg/usr/include/d" \ + --docdir="$startdir/pkg/usr/share/doc" \ + --sysconfdir="$startdir/pkg/etc" \ + --scratchdir="$startdir/pkg/tmp" +} + +# vim:set ts=2 sw=2 et: diff -r f595a447aa22 -r c42d991ddcdb sources/libphobos/PKGBUILD --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/libphobos/PKGBUILD Mon Dec 17 04:44:31 2007 +0100 @@ -0,0 +1,34 @@ +# Maintainer: Anders Bergh +pkgname=libphobos +pkgver=1.024 +pkgrel=1 +pkgdesc="The Phobos standard library for the D programming language." +arch=('i686') +url="http://www.digitalmars.com/d/1.0/" +source=(http://ftp.digitalmars.com/dmd.$pkgver.zip dmd.conf) +md5sums=('249eb2a3b337ad4918444bb684219687' + 'e93f0ccb1e5c00cd222af5a9be3f599a') +depends=('d-dmd' 'dmd=1.024') +license=('custom') +# I'll figure this out later, should be possible for them to not conflict +conflicts=('libtango') + +build() { + # Copy the license + mkdir -p $startdir/pkg/usr/share/licenses/libphobos || return 1 + cp $startdir/src/dmd/src/phobos/phoboslicense.txt $startdir/pkg/usr/share/licenses/libphobos/COPYING || return 1 + + mkdir -p $startdir/pkg/usr/include/d || return 1 + mkdir -p $startdir/pkg/usr/lib || return 1 + mkdir -p $startdir/pkg/etc || return 1 + + cd $startdir/src/dmd/src/phobos || return 1 + cp -Rf std $startdir/pkg/usr/include/d || return 1 + cp -Rf etc $startdir/pkg/usr/include/d || return 1 + cp -Rf internal $startdir/pkg/usr/include/d || return 1 + cp -f {crc32,object,gcstats}.d $startdir/pkg/usr/include/d || return 1 + + make -f linux.mak libphobos.a || return 1 + install -m644 $startdir/src/dmd/lib/libphobos.a $startdir/pkg/usr/lib || return 1 + install -m664 $startdir/src/dmd.conf $startdir/pkg/etc || return 1 +} diff -r f595a447aa22 -r c42d991ddcdb sources/libphobos/dmd.conf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/libphobos/dmd.conf Mon Dec 17 04:44:31 2007 +0100 @@ -0,0 +1,2 @@ +[Environment] +DFLAGS=-I/usr/include/d -L-L/usr/lib diff -r f595a447aa22 -r c42d991ddcdb sources/libtango/PKGBUILD --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/libtango/PKGBUILD Mon Dec 17 04:44:31 2007 +0100 @@ -0,0 +1,34 @@ +# Maintainer: Anders Bergh +pkgname=libtango +pkgver=0.99.3 +pkgrel=2 +pkgdesc="The Tango standard library for the D programming language." +arch=('i686') +url="http://dsource.org/projects/tango" +source=(http://downloads.dsource.org/projects/tango/$pkgver/tango-$pkgver-src.tar.gz + dmd.conf) +md5sums=('8fd4210441f8b84f1de9d2513915b41c' + 'b16c7f8eeb3adebe805ca03a4b183efc') +depends=('d-dmd') +license=('custom') +conflicts=('libphobos') + +build() { + cd $startdir/src/tango-$pkgver-src + + cd lib + ./build-dmd.sh || return 1 + ./build-tango.sh dmd || return 1 + + mkdir -p $startdir/pkg/usr/lib + mkdir -p $startdir/pkg/usr/include{,/d} + cp -f $startdir/src/tango-$pkgver-src/lib/libtango-base-dmd.a $startdir/pkg/usr/lib || return 1 + cp -f $startdir/src/tango-$pkgver-src/lib/libtango-user-dmd.a $startdir/pkg/usr/lib || return 1 + cp -f $startdir/src/tango-$pkgver-src/object.di $startdir/pkg/usr/include/d || return 1 + cp -Rf $startdir/src/tango-$pkgver-src/tango $startdir/pkg/usr/include/d || return 1 + cp -Rf $startdir/src/tango-$pkgver-src/std $startdir/pkg/usr/include/d || return 1 + + mkdir -p $startdir/pkg/etc + cp $startdir/src/dmd.conf $startdir/pkg/etc || return 1 +} + diff -r f595a447aa22 -r c42d991ddcdb sources/libtango/dmd.conf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/libtango/dmd.conf Mon Dec 17 04:44:31 2007 +0100 @@ -0,0 +1,2 @@ +[Environment] +DFLAGS=-I/usr/include/d -defaultlib=tango-base-dmd -debuglib=tango-base-dmd -version=Tango -version=Posix -L-ltango-user-dmd -L-L/usr/lib diff -r f595a447aa22 -r c42d991ddcdb sources/luafilesystem/LICENSE --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/luafilesystem/LICENSE Mon Dec 17 04:44:31 2007 +0100 @@ -0,0 +1,22 @@ +Copyright (C) 2004-2007 The Kepler Project. + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without +restriction, including without limitation the rights to use, copy, +modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS +BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN +ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + diff -r f595a447aa22 -r c42d991ddcdb sources/luafilesystem/PKGBUILD --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/luafilesystem/PKGBUILD Mon Dec 17 04:44:31 2007 +0100 @@ -0,0 +1,30 @@ +# Contributor: Anders Bergh +pkgname=luafilesystem +pkgver=1.3.0 +pkgrel=1 +pkgdesc="File System Library for the Lua Programming Language" +arch=(i686) +url="http://www.keplerproject.org/luafilesystem/" +license=('custom') +depends=(lua) +source=(http://luaforge.net/frs/download.php/2679/$pkgname-$pkgver.tar.gz + LICENSE + luafilesystem-arch.patch) +md5sums=('5a5aa378d8cb3e68d5fe0609f373f59f' + 'beb2b58c4b5c2782304a5b0267a5651b' + '6a8d0b411d2807853ab89e7de07da34f') + +build() { + mkdir -p $startdir/pkg/usr/share/licenses/$pkgname + cp $startdir/src/LICENSE $startdir/pkg/usr/share/licenses/$pkgname + + cd "$startdir/src/$pkgname-$pkgver" + patch -p1 < "$startdir/src/luafilesystem-arch.patch" + + ./configure + make || return 1 + make DESTDIR="$startdir/pkg" install + +} + +# vim:set ts=2 sw=2 et: diff -r f595a447aa22 -r c42d991ddcdb sources/luafilesystem/luafilesystem-arch.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/luafilesystem/luafilesystem-arch.patch Mon Dec 17 04:44:31 2007 +0100 @@ -0,0 +1,34 @@ +diff -ruN luafilesystem-1.3.0.orig/Makefile luafilesystem-1.3.0/Makefile +--- luafilesystem-1.3.0.orig/Makefile 2007-06-07 03:28:08.000000000 +0200 ++++ luafilesystem-1.3.0/Makefile 2007-10-27 20:36:46.000000000 +0200 +@@ -12,12 +12,12 @@ + lib: src/$(LIBNAME) + + src/$(LIBNAME): $(OBJS) +- export MACOSX_DEPLOYMENT_TARGET="10.3"; $(CC) $(CFLAGS) $(LIB_OPTION) -o src/$(LIBNAME) $(OBJS) ++ $(CC) $(CFLAGS) $(LIB_OPTION) -o src/$(LIBNAME) $(OBJS) + + install: src/$(LIBNAME) +- mkdir -p $(LUA_LIBDIR) +- cp src/$(LIBNAME) $(LUA_LIBDIR) +- cd $(LUA_LIBDIR); ln -f -s $(LIBNAME) $T.so ++ mkdir -p $(DESTDIR)$(LUA_LIBDIR) ++ cp src/$(LIBNAME) $(DESTDIR)$(LUA_LIBDIR) ++ cd $(DESTDIR)$(LUA_LIBDIR); ln -f -s $(LIBNAME) $T.so + + clean: + rm -f src/$(LIBNAME) $(OBJS) +diff -ruN luafilesystem-1.3.0.orig/config luafilesystem-1.3.0/config +--- luafilesystem-1.3.0.orig/config 2007-07-31 05:22:55.000000000 +0200 ++++ luafilesystem-1.3.0/config 2007-10-27 20:36:08.000000000 +0200 +@@ -1,8 +1,8 @@ + # Installation directories + # System's libraries directory (where binary libraries are installed) +-LUA_LIBDIR= /usr/local/lib/lua/5.1 ++LUA_LIBDIR= /usr/lib/lua/5.1 + # Lua includes directory +-LUA_INC= /usr/local/include ++LUA_INC= /usr/include + + # OS dependent + LIB_OPTION= -shared #for Linux diff -r f595a447aa22 -r c42d991ddcdb sources/luajit/PKGBUILD --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/luajit/PKGBUILD Mon Dec 17 04:44:31 2007 +0100 @@ -0,0 +1,22 @@ +# Contributor: Anders Bergh +pkgname=luajit +pkgver=1.1.3 +pkgrel=5 +pkgdesc="LuaJIT is a Just-In-Time Compiler for Lua 5.1. LuaJIT is based on Lua, a powerful, light-weight programming language." +arch=(i686) +url="http://luajit.org/" +depends=(readline) +source=(http://luajit.org/download/LuaJIT-$pkgver.tar.gz luajit-arch.patch) +md5sums=('f5db1a147ed3d34677ad1ef310c56da7' + '0e61ba3d7d93c29f40f5a1967228833b') +license=('custom') + +build() { + cd "$startdir/src/LuaJIT-$pkgver" + + make linux_rl || return 1 + make INSTALL_TOP=$startdir/pkg/usr install || return 1 + + install -D -m 644 etc/luajit.pc "$startdir/pkg/usr/lib/pkgconfig/luajit.pc" + install -D -m 644 COPYRIGHT "$startdir/pkg/usr/share/licenses/luajit/COPYRIGHT" +} diff -r f595a447aa22 -r c42d991ddcdb sources/luajit/luajit-arch.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/luajit/luajit-arch.patch Mon Dec 17 04:44:31 2007 +0100 @@ -0,0 +1,12 @@ +diff -ruN LuaJIT-1.1.3.orig/src/luaconf.h LuaJIT-1.1.3/src/luaconf.h +--- LuaJIT-1.1.3.orig/src/luaconf.h 2007-05-24 13:30:00.000000000 +0200 ++++ LuaJIT-1.1.3/src/luaconf.h 2007-11-02 06:28:59.000000000 +0100 +@@ -94,7 +94,7 @@ + ".\\?.dll;" LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll" + + #else +-#define LUA_ROOT "/usr/local/" ++#define LUA_ROOT "/usr" + #define LUA_LDIR LUA_ROOT "share/lua/5.1/" + #define LUA_CDIR LUA_ROOT "lib/lua/5.1/" + #define LUA_PATH_DEFAULT \ diff -r f595a447aa22 -r c42d991ddcdb sources/lualdap/LICENSE --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/lualdap/LICENSE Mon Dec 17 04:44:31 2007 +0100 @@ -0,0 +1,20 @@ +Copyright © 2003-2007 The Kepler Project. + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff -r f595a447aa22 -r c42d991ddcdb sources/lualdap/PKGBUILD --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/lualdap/PKGBUILD Mon Dec 17 04:44:31 2007 +0100 @@ -0,0 +1,28 @@ +# Contributor: Anders Bergh +pkgname=lualdap +pkgver=1.0.1 +pkgrel=1 +pkgdesc="A Lua interface to the OpenLDAP library" +arch=('i686' 'x86_64') +url="http://www.keplerproject.org/lualdap/" +license=('custom') +depends=('lua' 'libldap') +source=('http://luaforge.net/frs/download.php/1571/lualdap-1.0.1.tar.gz' + 'LICENSE' + 'lualdap-arch.patch') +md5sums=('d81fae84fcd0d7fb58db563d10b11532' + 'e8728f500ebb96fbf5b36c66eb86f7a4' + '407fce14c34a6d906ade53dab47bcd75') + +build() { + cd "$startdir/src/$pkgname-$pkgver" + patch -p1 < "$startdir/src/lualdap-arch.patch" + + make || return 1 + make DESTDIR="$startdir/pkg" install + + mkdir -p "$startdir/pkg/usr/share/licenses/lualdap" + cp "$startdir/src/LICENSE" "$startdir/pkg/usr/share/licenses/lualdap" +} + +# vim:set ts=2 sw=2 et: diff -r f595a447aa22 -r c42d991ddcdb sources/lualdap/lualdap-arch.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/lualdap/lualdap-arch.patch Mon Dec 17 04:44:31 2007 +0100 @@ -0,0 +1,115 @@ +diff -ruN lualdap-1.0.1.orig/config lualdap-1.0.1/config +--- lualdap-1.0.1.orig/config 2005-12-26 22:26:03.000000000 +0100 ++++ lualdap-1.0.1/config 2007-11-02 05:39:59.000000000 +0100 +@@ -1,10 +1,10 @@ + # Installation directories + # System's libraries directory (where binary libraries are installed) +-LUA_LIBDIR= /usr/local/lib/lua/5.0 ++LUA_LIBDIR= /usr/lib/lua/5.1 + # Lua includes directory +-LUA_INC= /usr/local/include ++LUA_INC= /usr/include + # OpenLDAP includes directory +-OPENLDAP_INC= /usr/local/include ++OPENLDAP_INC= /usr/include + # OpenLDAP library (an optional directory can be specified with -L) + OPENLDAP_LIB= -lldap + +diff -ruN lualdap-1.0.1.orig/Makefile lualdap-1.0.1/Makefile +--- lualdap-1.0.1.orig/Makefile 2005-12-26 22:26:03.000000000 +0100 ++++ lualdap-1.0.1/Makefile 2007-11-02 05:41:57.000000000 +0100 +@@ -6,7 +6,7 @@ + + include $(CONFIG) + +-OBJS= src/lualdap.o $(COMPAT_DIR)/compat-5.1.o ++OBJS= src/lualdap.o + + + src/$(LIBNAME): $(OBJS) +@@ -16,9 +16,9 @@ + $(CC) -c $(CFLAGS) -o $@ $(COMPAT_DIR)/compat-5.1.c + + install: src/$(LIBNAME) +- mkdir -p $(LUA_LIBDIR) +- cp src/$(LIBNAME) $(LUA_LIBDIR) +- cd $(LUA_LIBDIR); ln -f -s $(LIBNAME) $T.so ++ mkdir -p $(DESTDIR)$(LUA_LIBDIR) ++ cp src/$(LIBNAME) $(DESTDIR)$(LUA_LIBDIR) ++ cd $(DESTDIR)$(LUA_LIBDIR); ln -f -s $(LIBNAME) $T.so + + clean: + rm -f $(OBJS) src/$(LIBNAME) +diff -ruN lualdap-1.0.1.orig/src/lualdap.c lualdap-1.0.1/src/lualdap.c +--- lualdap-1.0.1.orig/src/lualdap.c 2006-04-04 22:11:51.000000000 +0200 ++++ lualdap-1.0.1/src/lualdap.c 2007-11-02 05:46:26.000000000 +0100 +@@ -16,7 +16,6 @@ + + #include "lua.h" + #include "lauxlib.h" +-#include "compat-5.1.h" + + + #define LUALDAP_PREFIX "LuaLDAP: " +@@ -462,7 +461,7 @@ + */ + static int lualdap_add (lua_State *L) { + conn_data *conn = getconnection (L); +- const char *dn = luaL_check_string (L, 2); ++ const char *dn = luaL_checkstring (L, 2); + attrs_data attrs; + int rc, msgid; + A_init (&attrs); +@@ -484,11 +483,11 @@ + */ + static int lualdap_compare (lua_State *L) { + conn_data *conn = getconnection (L); +- const char *dn = luaL_check_string (L, 2); +- const char *attr = luaL_check_string (L, 3); ++ const char *dn = luaL_checkstring (L, 2); ++ const char *attr = luaL_checkstring (L, 3); + BerValue bvalue; + int rc, msgid; +- bvalue.bv_val = (char *)luaL_check_string (L, 4); ++ bvalue.bv_val = (char *)luaL_checkstring (L, 4); + bvalue.bv_len = lua_strlen (L, 4); + rc = ldap_compare_ext (conn->ld, dn, attr, &bvalue, NULL, NULL, &msgid); + return create_future (L, rc, 1, msgid, LDAP_RES_COMPARE); +@@ -503,7 +502,7 @@ + */ + static int lualdap_delete (lua_State *L) { + conn_data *conn = getconnection (L); +- const char *dn = luaL_check_string (L, 2); ++ const char *dn = luaL_checkstring (L, 2); + int rc, msgid; + rc = ldap_delete_ext (conn->ld, dn, NULL, NULL, &msgid); + return create_future (L, rc, 1, msgid, LDAP_RES_DELETE); +@@ -538,7 +537,7 @@ + */ + static int lualdap_modify (lua_State *L) { + conn_data *conn = getconnection (L); +- const char *dn = luaL_check_string (L, 2); ++ const char *dn = luaL_checkstring (L, 2); + attrs_data attrs; + int rc, msgid, param = 3; + A_init (&attrs); +@@ -564,8 +563,8 @@ + */ + static int lualdap_rename (lua_State *L) { + conn_data *conn = getconnection (L); +- const char *dn = luaL_check_string (L, 2); +- const char *rdn = luaL_check_string (L, 3); ++ const char *dn = luaL_checkstring (L, 2); ++ const char *rdn = luaL_checkstring (L, 3); + const char *par = luaL_optlstring (L, 4, NULL, NULL); + const int del = luaL_optnumber (L, 5, 0); + int msgid; +@@ -914,7 +913,7 @@ + ** @return #1 Userdata with connection structure. + */ + static int lualdap_open_simple (lua_State *L) { +- const char *host = luaL_check_string (L, 1); ++ const char *host = luaL_checkstring (L, 1); + const char *who = luaL_optstring (L, 2, NULL); + const char *password = luaL_optstring (L, 3, NULL); + int use_tls = lua_toboolean (L, 4); diff -r f595a447aa22 -r c42d991ddcdb sources/lualogging/LICENSE --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/lualogging/LICENSE Mon Dec 17 04:44:31 2007 +0100 @@ -0,0 +1,20 @@ +Copyright © 2004-2007 The Kepler Project. + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff -r f595a447aa22 -r c42d991ddcdb sources/lualogging/PKGBUILD --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/lualogging/PKGBUILD Mon Dec 17 04:44:31 2007 +0100 @@ -0,0 +1,27 @@ +# Contributor: Anders Bergh +pkgname=lualogging +pkgver=1.1.4 +pkgrel=1 +pkgdesc="A simple API to use logging features in Lua" +arch=('i686' 'x86_64') +url="http://www.keplerproject.org/lualogging/" +license=('custom') +depends=('lua') +source=('http://luaforge.net/frs/download.php/2693/lualogging-1.1.4.tar.gz' + 'LICENSE' + ) +md5sums=('72a8622748a525f5fb8ed23278326f80' + 'c2a5289bdfe3702fd77b365a48251c08') + +build() { + cd "$startdir/src/$pkgname-$pkgver/src" + + mkdir -p "$startdir/pkg/usr/share/lua/5.1/logging" + cp logging/*.lua "$startdir/pkg/usr/share/lua/5.1/logging" + mv "$startdir/pkg/usr/share/lua/5.1/logging/logging.lua" "$startdir/pkg/usr/share/lua/5.1" + + mkdir -p "$startdir/pkg/usr/share/licenses/lualogging" + cp "$startdir/src/LICENSE" "$startdir/pkg/usr/share/licenses/lualogging" +} + +# vim:set ts=2 sw=2 et: diff -r f595a447aa22 -r c42d991ddcdb sources/premake/PKGBUILD --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/premake/PKGBUILD Mon Dec 17 04:44:31 2007 +0100 @@ -0,0 +1,18 @@ +# Contributor: Anders Bergh +# Contributor: Mildred +pkgname=premake +pkgver=3.5 +pkgrel=1 +pkgdesc="Premake is a build script generator that uses Lua" +arch=('i686' 'x86_64') +url="http://premake.sourceforge.net" +license=('GPL') +makedepends=('unzip') +source=("http://downloads.sourceforge.net/sourceforge/premake/premake-src-$pkgver.zip") +md5sums=('b2fb3a8a5e1f85309432e5814b232d9f') + +build() { + cd "$startdir/src/Premake-$pkgver" + make || return 1 + install -D bin/premake "$startdir/pkg/usr/bin/premake" +} diff -r f595a447aa22 -r c42d991ddcdb sources/wol/PKGBUILD --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/wol/PKGBUILD Mon Dec 17 04:44:31 2007 +0100 @@ -0,0 +1,19 @@ +# Contributor: Anders Bergh +# Contributor: Markus Volkmann +pkgname=wol +pkgver=0.7.1 +pkgrel=3 +arch=('i686' 'x86_64') +pkgdesc="wol implements Wake On LAN functionality in a small program. It wakes up hardware that is Magic Packet compliant." +license="GPL" +url="http://ahh.sourceforge.net/wol/" +source=(http://downloads.sourceforge.net/ahh/wol-$pkgver.tar.gz) +md5sums=('c2fa9d7e771134ac8c89d56b8197d4ca') + +build() { + cd $startdir/src/$pkgname-$pkgver + ./configure --prefix=/usr + make || return 1 + make prefix=$startdir/pkg/usr install +} + diff -r f595a447aa22 -r c42d991ddcdb sources/worldofpadman/PKGBUILD --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/worldofpadman/PKGBUILD Mon Dec 17 04:44:31 2007 +0100 @@ -0,0 +1,67 @@ +# Contributor: Benjamin Dirks + +pkgname=worldofpadman +pkgver=1.1 +pkgrel=4 +pkgdesc="a free standalone online game based on the quake3 engine." +url="http://www.worldofpadman.com/" +license="custom" +arch=('i686' 'x86_64' 'ppc') +depends=('sdl' 'libvorbis' 'curl') +makedepends=('subversion') +conflicts=() +provides=() +install= +source=("http://thilo.kickchat.com/download/worldofpadman.run" 'wop.desktop') +md5sums=('c7650414d7865ddac26ada6b3f7b8cc9' 'd22bca1743d2a5b717c0071a32abceff') + +_svntrunk=http://wop-engine.svn.sourceforge.net/svnroot/wop-engine/tags/ +_svntag=firstPublicStandAlone +_svnmod=wop-engine + +build() +{ + mkdir -p $startdir/pkg/opt/wop/wop + mkdir -p $startdir/pkg/opt/wop/xtras + mkdir -p $startdir/pkg/usr/bin/ + mkdir -p $startdir/pkg/usr/share/licenses/worldofpadman/ + install -Dm644 wop.desktop $startdir/pkg/usr/share/applications/wop.desktop + + # Move Source and Extract + cd $startdir/src + svn co ${_svntrunk}${_svntag} ${_svnmod} + msg "SVN checkout done or server timeout" + msg "Starting make..." + + if [[ -d ${startdir}/src/${_svnmod}-build ]]; then + rm -rf ${startdir}/src/${_svnmod}-build + fi + cp -R ${startdir}/src/${_svnmod} ${startdir}/src/${_svnmod}-build || exit 1 + cd "${_svnmod}-build" + + /bin/sed -i "s: -Werror::" $startdir/src/${_svnmod}-build/code/tools/asm/Makefile + /bin/sed -i "s:i386:i686:" $startdir/src/${_svnmod}-build/Makefile + make || exit 1 + + cd build/release-* + cp wop-engine.* $startdir/pkg/opt/wop/ + cp wopded.* $startdir/pkg/opt/wop/ + + cd $startdir/src + sh worldofpadman.run --keep --noexec || exit 1 + + cd image + + /bin/sed -i "s:i386:i686:" bin/Linux/x86/WoP + cp bin/Linux/x86/WoP $startdir/pkg/opt/wop/WoP + + tar -xf readme.tar -C $startdir/pkg/opt/wop + tar -xf wop-data.tar -C $startdir/pkg/opt/wop/wop + tar -xf extras.tar -C $startdir/pkg/opt/wop/xtras + + cp copyright_* $startdir/pkg/opt/wop/gpl.txt $startdir/pkg/usr/share/licenses/worldofpadman/ + cp README* $startdir/pkg/opt/wop + ln -sf /opt/wop/WoP $startdir/pkg/usr/bin/ + ln -sf /opt/wop/WoP $startdir/pkg/usr/bin/worldofpadman + install -Dm644 wop.png $startdir/pkg/usr/share/pixmaps/wop.png +} diff -r f595a447aa22 -r c42d991ddcdb sources/worldofpadman/wop.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/worldofpadman/wop.desktop Mon Dec 17 04:44:31 2007 +0100 @@ -0,0 +1,11 @@ +[Desktop Entry] +Type=Application +Version=1.1 +Encoding=UTF-8 +Name=World of Padman +Comment=Free Ego-shooter game +Icon=/usr/share/pixmaps/wop.png +Exec=/usr/bin/WoP +Terminal=false +StartupNotify=false +Categories=Game; diff -r f595a447aa22 -r c42d991ddcdb utils/TODO --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/utils/TODO Mon Dec 17 04:44:31 2007 +0100 @@ -0,0 +1,1 @@ +Add some kind of repo sync script here