summaryrefslogtreecommitdiff
path: root/office/pyroom
diff options
context:
space:
mode:
Diffstat (limited to 'office/pyroom')
-rw-r--r--office/pyroom/README10
-rw-r--r--office/pyroom/doinst.sh4
-rw-r--r--office/pyroom/pyroom.SlackBuild57
-rw-r--r--office/pyroom/pyroom.info8
-rw-r--r--office/pyroom/slack-desc19
5 files changed, 98 insertions, 0 deletions
diff --git a/office/pyroom/README b/office/pyroom/README
new file mode 100644
index 0000000000..39e51aa1af
--- /dev/null
+++ b/office/pyroom/README
@@ -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).
+ \ No newline at end of file
diff --git a/office/pyroom/doinst.sh b/office/pyroom/doinst.sh
new file mode 100644
index 0000000000..ff5dd6d547
--- /dev/null
+++ b/office/pyroom/doinst.sh
@@ -0,0 +1,4 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications
+fi
+
diff --git a/office/pyroom/pyroom.SlackBuild b/office/pyroom/pyroom.SlackBuild
new file mode 100644
index 0000000000..5cd12c7fb0
--- /dev/null
+++ b/office/pyroom/pyroom.SlackBuild
@@ -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
diff --git a/office/pyroom/pyroom.info b/office/pyroom/pyroom.info
new file mode 100644
index 0000000000..bf12194f7c
--- /dev/null
+++ b/office/pyroom/pyroom.info
@@ -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"
diff --git a/office/pyroom/slack-desc b/office/pyroom/slack-desc
new file mode 100644
index 0000000000..b5f493f7fa
--- /dev/null
+++ b/office/pyroom/slack-desc
@@ -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: