mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
desktop/oroborus: Initial import
This commit is contained in:
parent
110a47a0d0
commit
5614c2f9db
5 changed files with 135 additions and 0 deletions
15
desktop/oroborus/README
Normal file
15
desktop/oroborus/README
Normal file
|
@ -0,0 +1,15 @@
|
|||
Oroborus is a small yet fully featured GNOME compliant window manager for the
|
||||
X Window System. It is distributed under the GPL (see LICENSE for more details).
|
||||
|
||||
The main aim of Oroborus is to be small and light with very few fancy features,
|
||||
so there are no docks, no taskbars, no root menus and no icons. These can be
|
||||
added quite easily by either using Oroborus with GNOME or using some other
|
||||
applications that provide the required functionality.
|
||||
|
||||
Oroborus reads its defaults from either /usr/share/oroborus/defaults or
|
||||
$HOME/.oroborusrc. An example rc file is included in /usr/doc/oroborus-$VERSION
|
||||
Themes and schemes can be found in /usr/share/oroborus.
|
||||
|
||||
You may also want to install the keylaunch, deskmenu, and desklaunch programs
|
||||
found on the oroborus home page.
|
||||
|
70
desktop/oroborus/oroborus.SlackBuild
Normal file
70
desktop/oroborus/oroborus.SlackBuild
Normal file
|
@ -0,0 +1,70 @@
|
|||
#!/bin/sh
|
||||
|
||||
######################################
|
||||
# Slackware Build Script #
|
||||
######################################
|
||||
# BUILDS: Oroborus #
|
||||
# HOME: http://www.oroborus.org/ #
|
||||
# AUTHOR: Lehman Black #
|
||||
# CONTACT: bzqwerty[at]gmail[dot]com #
|
||||
######################################
|
||||
|
||||
# Modified by the SlackBuilds.org project
|
||||
|
||||
PRGNAM=oroborus
|
||||
VERSION=2.0.18
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
CWD=`pwd`
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
elif [ "$ARCH" = "i586" ]; then
|
||||
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
fi
|
||||
|
||||
rm -rf $PKG $TMP/$PRGNAM-$VERSION
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
|
||||
cd $TMP || exit 1
|
||||
tar xvf $CWD/${PRGNAM}_$VERSION.tar.gz || exit 1
|
||||
cd $PRGNAM-$VERSION || exit 1
|
||||
chown -R root:root .
|
||||
chmod -R a-s,u+w,go+r-w .
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
|| exit 1
|
||||
|
||||
make || exit 1
|
||||
make install-strip DESTDIR=$PKG || exit 1
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a README AUTHORS COPYING ChangeLog INSTALL NEWS TODO example.oroborusrc \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
( cd $PKG/usr/man
|
||||
find . -type f -exec gzip -9 {} \;
|
||||
for i in `find . -type l` ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
)
|
||||
|
||||
# Let's add an xinitrc file so it will show up in xwmconfig's list of choices
|
||||
install -D -m 0755 $CWD/xinitrc.oroborus $PKG/etc/X11/xinit/xinitrc.oroborus
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
8
desktop/oroborus/oroborus.info
Normal file
8
desktop/oroborus/oroborus.info
Normal file
|
@ -0,0 +1,8 @@
|
|||
PRGNAM="oroborus"
|
||||
VERSION="2.0.18"
|
||||
HOMEPAGE="http://www.oroborus.org"
|
||||
DOWNLOAD="http://www.oroborus.org/debian/dists/sid/main/source/x11/oroborus_2.0.18.tar.gz"
|
||||
MD5SUM="d9b94935d6b904ddeadb9b83f2159565 "
|
||||
MAINTAINER="Lehman Black"
|
||||
EMAIL="bzqwerty[at]gmail[dot]com"
|
||||
APPROVED="robw810"
|
11
desktop/oroborus/slack-desc
Normal file
11
desktop/oroborus/slack-desc
Normal file
|
@ -0,0 +1,11 @@
|
|||
oroborus: Oroborus (window manager)
|
||||
oroborus:
|
||||
oroborus: Oroborus basically is a really minimalistic window manager.
|
||||
oroborus: "Minimalistic" means that the Oroborus window manager doesn't
|
||||
oroborus: provide some things other window managers provide. The Oroborus
|
||||
oroborus: website has some external tools to supliment the window manager
|
||||
oroborus: if desired.
|
||||
oroborus:
|
||||
oroborus: http://www.oroborus.org
|
||||
oroborus:
|
||||
oroborus:
|
31
desktop/oroborus/xinitrc.oroborus
Normal file
31
desktop/oroborus/xinitrc.oroborus
Normal file
|
@ -0,0 +1,31 @@
|
|||
#!/bin/sh
|
||||
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $
|
||||
|
||||
userresources=$HOME/.Xresources
|
||||
usermodmap=$HOME/.Xmodmap
|
||||
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
|
||||
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap
|
||||
|
||||
# merge in defaults and keymaps
|
||||
|
||||
if [ -f $sysresources ]; then
|
||||
xrdb -merge $sysresources
|
||||
fi
|
||||
|
||||
if [ -f $sysmodmap ]; then
|
||||
xmodmap $sysmodmap
|
||||
fi
|
||||
|
||||
if [ -f $userresources ]; then
|
||||
xrdb -merge $userresources
|
||||
fi
|
||||
|
||||
if [ -f $usermodmap ]; then
|
||||
xmodmap $usermodmap
|
||||
fi
|
||||
|
||||
# Start some programs:
|
||||
xterm &
|
||||
|
||||
# Start the window manager:
|
||||
exec oroborus
|
Loading…
Reference in a new issue