From 8122ac328cfc88f63ddee5724e61e077f4c9052d Mon Sep 17 00:00:00 2001 From: Shining Date: Wed, 12 May 2010 23:28:24 +0200 Subject: desktop/wmcliphist: Added to 12.2 repository --- desktop/wmcliphist/README | 4 +++ desktop/wmcliphist/slack-desc | 19 ++++++++++++ desktop/wmcliphist/wmcliphist.SlackBuild | 53 ++++++++++++++++++++++++++++++++ desktop/wmcliphist/wmcliphist.info | 8 +++++ 4 files changed, 84 insertions(+) create mode 100644 desktop/wmcliphist/README create mode 100644 desktop/wmcliphist/slack-desc create mode 100644 desktop/wmcliphist/wmcliphist.SlackBuild create mode 100644 desktop/wmcliphist/wmcliphist.info (limited to 'desktop') diff --git a/desktop/wmcliphist/README b/desktop/wmcliphist/README new file mode 100644 index 0000000000..d949c86a64 --- /dev/null +++ b/desktop/wmcliphist/README @@ -0,0 +1,4 @@ +A clipboard history dockable application for Window Maker. +wmcliphist keeps history of clipboard operations and allows you to +put previously copied items back to clipboard for pasting to other +applications. diff --git a/desktop/wmcliphist/slack-desc b/desktop/wmcliphist/slack-desc new file mode 100644 index 0000000000..c666a3abae --- /dev/null +++ b/desktop/wmcliphist/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 ':'. + + |----hardy-ruler----------------------------------------------------| +wmcliphist: wmcliphist (dockable clipboard history for Window Maker) +wmcliphist: +wmcliphist: It is clipboard history dockable application for Window Maker. +wmcliphist: wmcliphist keeps history of clipboard operations and allows you to +wmcliphist: put previously copied items back to clipboard for pasting to other +wmcliphist: applications. +wmcliphist: +wmcliphist: (http://linux.nawebu.cz/wmcliphist) +wmcliphist: +wmcliphist: +wmcliphist: diff --git a/desktop/wmcliphist/wmcliphist.SlackBuild b/desktop/wmcliphist/wmcliphist.SlackBuild new file mode 100644 index 0000000000..731f205bf9 --- /dev/null +++ b/desktop/wmcliphist/wmcliphist.SlackBuild @@ -0,0 +1,53 @@ +#!/bin/sh + +# Slackware build script for wmcliphist + +# Written by Shining + +PRGNAM=wmcliphist +VERSION=${VERSION:-0.6} +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" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +mkdir -p $PRGNAM-$VERSION +cd $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-latest.tar.gz +cd $PRGNAM-$VERSION +chmod -R u+w,go+r-w,a-s . +chown -R root:root . + +make +mkdir -p $PKG/usr/bin +install -m 0755 -s $PRGNAM $PKG/usr/bin/$PRGNAM + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + AUTHORS COPYING ChangeLog NEWS 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 + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz diff --git a/desktop/wmcliphist/wmcliphist.info b/desktop/wmcliphist/wmcliphist.info new file mode 100644 index 0000000000..68c4d59e30 --- /dev/null +++ b/desktop/wmcliphist/wmcliphist.info @@ -0,0 +1,8 @@ +PRGNAM="wmcliphist" +VERSION="0.6" +HOMEPAGE="http://linux.nawebu.cz/wmcliphist" +DOWNLOAD="http://linux.nawebu.cz/wmcliphist/wmcliphist-latest.tar.gz" +MD5SUM="6cd9788321eb7c0c72bd00cb76f52789" +MAINTAINER="Shining" +EMAIL="shining@freaknet.org" +APPROVED="Erik Hanson" -- cgit v1.2.3