updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / oroborox / PKGBUILD
blob64f97121e26b45905eabb612b6b918d43f06c1fa
1 # Contributor: linfocito <dududa@gmail.com>
2 pkgname=oroborox
3 pkgver=0.9.7.9.1
4 pkgrel=6
5 pkgdesc="A lightweight Window Manager for ROX"
6 url="http://rox.sourceforge.net/desktop/OroboROX"
7 arch=('i686')
8 license="GPL"
9 depends=('pygtk' 'rox-lib' )
10 makedepends=()
11 conflicts=()
12 replaces=()
13 backup=()
14 install=
15 source=(http://kent.dl.sourceforge.net/sourceforge/rox/OroboROX-$pkgver.tar.bz2)
16 md5sums=('ee70e91aa845e451b043539d3d27fde4')
18 build() {
19   cd $startdir/src/OroboROX
20   sed -i "s/ -march=i486 -mtune=i686 -m32//" AppRun
21   sed -i "s/ -march=i486 -mcpu=i686 -m32//" AppRun
22   sed -i "s/-Os/$CFLAGS/" AppRun
23   ./AppRun --compile
24   rm -rf src =build Help Configure/OroboScheme/Help
25   mkdir -p $startdir/pkg/usr/share/OroboROX
26   mkdir -p $startdir/pkg/usr/bin
27   cp -R * .DirIcon $startdir/pkg/usr/share/OroboROX
28   echo "#!/bin/sh" > $startdir/pkg/usr/bin/oroborox
29   echo "exec /usr/share/OroboROX/OroboROX-$pkgver/AppRun \"\$@\"" >> $startdir/pkg/usr/bin/oroborox
30   chmod +x $startdir/pkg/usr/bin/oroborox