mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
office/pyroom: Added to 12.2 repository
This commit is contained in:
parent
1f85114c59
commit
6dc162c624
5 changed files with 98 additions and 0 deletions
10
office/pyroom/README
Normal file
10
office/pyroom/README
Normal file
|
@ -0,0 +1,10 @@
|
|||
PyRoom is a free editor that stays out your way - and keeps other things out
|
||||
of your way, too. As a fullscreen editor without buttons, widgets, formatting
|
||||
options, menus and with only the minimum of required dialog windows, it
|
||||
doesn't have any distractions and lets you focus on writing and only writing.
|
||||
|
||||
It is distributed under the GNU General Public Licence v3.
|
||||
|
||||
PyRoom requires PyGTK (provided by Slackware) and PyXDG (provided
|
||||
by Slackbuilds.org).
|
||||
|
4
office/pyroom/doinst.sh
Normal file
4
office/pyroom/doinst.sh
Normal file
|
@ -0,0 +1,4 @@
|
|||
if [ -x /usr/bin/update-desktop-database ]; then
|
||||
/usr/bin/update-desktop-database -q usr/share/applications
|
||||
fi
|
||||
|
57
office/pyroom/pyroom.SlackBuild
Normal file
57
office/pyroom/pyroom.SlackBuild
Normal file
|
@ -0,0 +1,57 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for pyroom
|
||||
# Written by Wade Nelson <wade.nels@gmail.com>
|
||||
#
|
||||
# Modified by the SlackBuilds.org project.
|
||||
|
||||
|
||||
PRGNAM=pyroom
|
||||
VERSION=0.4.1
|
||||
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" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
fi
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP || exit 1
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
|
||||
cd $PRGNAM-$VERSION || exit 1
|
||||
chown -R root:root .
|
||||
chmod -R u+w,go+r-w,a-s .
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
python setup.py build
|
||||
python setup.py install --root $PKG
|
||||
|
||||
mkdir -p $PKG/usr/man/man1
|
||||
cp $PRGNAM.1 $PKG/usr/man/man1
|
||||
|
||||
( 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
|
||||
)
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a AUTHORS CHANGELOG LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
8
office/pyroom/pyroom.info
Normal file
8
office/pyroom/pyroom.info
Normal file
|
@ -0,0 +1,8 @@
|
|||
PRGNAM="pyroom"
|
||||
VERSION="0.4.1"
|
||||
HOMEPAGE="http://pyroom.org"
|
||||
DOWNLOAD="http://launchpad.net/pyroom/0.4/0.4.1/+download/pyroom-0.4.1.tar.gz"
|
||||
MD5SUM="35e6dfb611b2732471a78f88465ebf7f"
|
||||
MAINTAINER="Wade Nelson"
|
||||
EMAIL="wade.nels@gmail.com"
|
||||
APPROVED="dsomero"
|
19
office/pyroom/slack-desc
Normal file
19
office/pyroom/slack-desc
Normal file
|
@ -0,0 +1,19 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||
# up the first '|' above the ':' following the base package name, and the '|'
|
||||
# on the right side marks the last column you can put a character in. You must
|
||||
# make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
pyroom: pyroom (fullscreen text editor)
|
||||
pyroom:
|
||||
pyroom: PyRoom is a free editor that stays out of your way, and keeps other
|
||||
pyroom: things out of your way too. As a fullscreen editor without buttons,
|
||||
pyroom: widgets, formatting options, menus, and with only the minimum of
|
||||
pyroom: required dialog windows, it doesn't have any distractions and lets
|
||||
pyroom: you focus on writing.
|
||||
pyroom:
|
||||
pyroom: Homepage: http://pyroom.org
|
||||
pyroom:
|
||||
pyroom:
|
Loading…
Reference in a new issue