diff options
Diffstat (limited to 'desktop/Xfce-Theme-Manager/Xfce-Theme-Manager.SlackBuild')
-rw-r--r-- | desktop/Xfce-Theme-Manager/Xfce-Theme-Manager.SlackBuild | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/desktop/Xfce-Theme-Manager/Xfce-Theme-Manager.SlackBuild b/desktop/Xfce-Theme-Manager/Xfce-Theme-Manager.SlackBuild index f4f9e2c92a..ebd2589f5b 100644 --- a/desktop/Xfce-Theme-Manager/Xfce-Theme-Manager.SlackBuild +++ b/desktop/Xfce-Theme-Manager/Xfce-Theme-Manager.SlackBuild @@ -25,7 +25,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=Xfce-Theme-Manager -VERSION=${VERSION:-0.0.8} +VERSION=${VERSION:-0.1.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,11 +60,11 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -rm -rf ${TMP}/$PRGNAM-$VERSION -mkdir -p ${TMP}/$PRGNAM-$VERSION - -cd ${TMP}/$PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM.tar.gz +cd $TMP +rm -rf $PRGNAM-$VERSION +mkdir -p $TMP/$PRGNAM-$VERSION +cd $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -72,15 +72,11 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -mkdir -p $PKG/usr/bin $PKG/usr/doc $PKG/usr/share/applications - -cd gtkpreview - sed -i "s,-O3,$SLKCFLAGS," Makefile - make install PREFIX=/usr DESTDIR=$PKG -cd .. +sed -i "s,-O3,$SLKCFLAGS," Makefile +make install PREFIX=/usr DESTDIR=$PKG -cp xfce-theme-manager ${PKG}/usr/bin/xfce-theme-manager -cp Xfce-Theme-Manager.desktop ${PKG}/usr/share/applications +cp -a xfce-theme-manager $PKG/usr/bin/xfce-theme-manager +cp -a Xfce-Theme-Manager.desktop $PKG/usr/share/applications mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a README $PKG/usr/doc/$PRGNAM-$VERSION |