diff options
author | Martin Lefebvre <dadexter@gmail.com> | 2010-05-11 19:43:55 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-11 19:43:55 +0200 |
commit | a9ca4b9f63c2016b69a3b8e7c4439a575b27f1e0 (patch) | |
tree | b9da1b98b4ebed332b6bdf44e5b546ec64cc575f /desktop/moodin/moodin.SlackBuild | |
parent | 3fd272a89c14f8c8c8f083f6f0d860019bff3096 (diff) |
desktop/moodin: Updated for version 0.4.2
Diffstat (limited to 'desktop/moodin/moodin.SlackBuild')
-rw-r--r-- | desktop/moodin/moodin.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/desktop/moodin/moodin.SlackBuild b/desktop/moodin/moodin.SlackBuild index 4f21ce0ad284c..9eb2c3c7c2ac9 100644 --- a/desktop/moodin/moodin.SlackBuild +++ b/desktop/moodin/moodin.SlackBuild @@ -27,7 +27,7 @@ VERSION=0.4.2 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=`pwd` +CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -47,10 +47,11 @@ cd $PRGNAM || exit 1 chown -R root:root . chmod -R a-s,u+w,go+r-w . +KDEPREF=$(kde-config --prefix) CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ - --prefix=/opt/kde \ + --prefix=$KDEPREF \ --sysconfdir=/etc \ --localstatedir=/var \ || exit 1 @@ -64,8 +65,7 @@ make install DESTDIR=$PKG || exit 1 ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |