You are not logged in.

#1 2005-02-16 19:29:14

thegnu
Member
From: Brooklyn, NY
Registered: 2004-05-04
Posts: 280
Website

[NEW] OroboROX, I need help patching it...

Here's the PKGBUILD for oroborox that I'm, working with.  I don't know how to automate patching of files.  I have included the patches I want in the source=() tag.  the problem I see is at least in the lijon patch, the paths to OroboROX are for a directory OroboROX-0.9.5, which doesn't exist.

# $Id$
# Contributor: Nathan Curry (thegnu@gmail.com)

pkgname=oroborox
_srcname=OroboROX
pkgver=0.9.5
pkgrel=1
groups=('rox-desktop')
pkgdesc="A lightweight Window Manager for the ROX Desktop"
url="http://rox.sourceforge.net/phpwiki/index.php/OroboROX"
depends=('rox-lib' 'freetype2' 'gtk' 'x-server')
source=(http://roxos.sunsite.dk/dev-contrib/guido/$_srcname-$pkgver.tar.bz2 http://kymatica.com/OroboROX/0.9.5-lijon.patch.gz http://www.raelh.plus.com/unix/Oroborox-0.9.5-maximise.patch)

build() {
  cd $startdir/src/$_srcname
  ./AppRun --compile
  cd ..

  mkdir -p $startdir/pkg/usr/apps
  cp -rp $_srcname $startdir/pkg/usr/apps

  mkdir -p $startdir/pkg/usr/bin
  echo "#!/bin/sh" > "$startdir/pkg/usr/bin/$pkgname"
  echo "exec /usr/apps/$_srcname/AppRun "$@"" >> "$startdir/pkg/usr/bin/$pkgname"
  chmod a+x $startdir/pkg/usr/bin/$pkgname
} 

fffft!

Offline

Board footer

Powered by FluxBB