aboutsummaryrefslogtreecommitdiff
path: root/desktop/obconf/obconf.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2012-02-19 11:53:10 -0600
committerRobby Workman <rworkman@slackbuilds.org>2012-02-20 12:20:29 -0600
commitbdb3f8e316907982eded9ae30fa6c260ca3c57c0 (patch)
tree570b47d6027d43ba65469cc6eef9f2efff534739 /desktop/obconf/obconf.SlackBuild
parent49ecdd0898048aa77dfff2624818fbc08f45d9ed (diff)
desktop/obconf: Updated to git snapshot cc7a188076, new maintainer.
Added patch to fix functionality with openbox-3.5. Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'desktop/obconf/obconf.SlackBuild')
-rw-r--r--desktop/obconf/obconf.SlackBuild16
1 files changed, 11 insertions, 5 deletions
diff --git a/desktop/obconf/obconf.SlackBuild b/desktop/obconf/obconf.SlackBuild
index eb87178aa2ca8..4263d69f4e1b9 100644
--- a/desktop/obconf/obconf.SlackBuild
+++ b/desktop/obconf/obconf.SlackBuild
@@ -22,9 +22,11 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Currently maintained by Robby Workman <rw@rlworkman.net>
+
PRGNAM=obconf
-VERSION=2.0.3
-BUILD=${BUILD:-2}
+VERSION=git_cc7a188076
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -42,7 +44,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCS="ABOUT-NLS AUTHORS CHANGELOG COPYING README"
+DOCS="AUTHORS CHANGELOG COPYING NEWS README TODO"
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
@@ -64,7 +66,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -73,13 +75,17 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Include a patch by Andrew Rowland to fix build errors:
+patch -p1 < $CWD/obconf_git_preview.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
- --localstatedir=/var
+ --localstatedir=/var \
+ --build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG