summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/curtain/curtain.SlackBuild20
-rw-r--r--misc/curtain/curtain.info6
2 files changed, 11 insertions, 15 deletions
diff --git a/misc/curtain/curtain.SlackBuild b/misc/curtain/curtain.SlackBuild
index 552afbc9bf..092973b424 100644
--- a/misc/curtain/curtain.SlackBuild
+++ b/misc/curtain/curtain.SlackBuild
@@ -7,7 +7,7 @@
# Public Domain
PRGNAM=curtain
-VERSION=${VERSION:-0.1}
+VERSION=${VERSION:-0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -49,10 +49,11 @@ cd $PRGNAM-$VERSION
chown -R root:root .
# If you are going to blindly reset permissions, this is a bit more readable.
# However '-perm /111' may only be compatible with only gnu/find.
-find . \
- -type d -exec chmod 755 {} \; -o \
- -type f -perm /111 -exec chmod 755 {} \; -o \
- -type f -exec chmod 644 {} \;
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -65,16 +66,11 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-# Make sure the Icon parameter is set properly in .desktop file
-sed -i 's/Icon=.*/Icon=curtain/' $PKG/usr/share/applications/curtain.desktop
-# Copy the icon to the proper folder
-mkdir -p $PKG/usr/share/icons/hicolor/22x22/apps/
-cp $PKG/usr/share/pixmaps/curtain.png $PKG/usr/share/icons/hicolor/22x22/apps
-
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-# No Manpages
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/misc/curtain/curtain.info b/misc/curtain/curtain.info
index a9b44dea2b..5cf2794d01 100644
--- a/misc/curtain/curtain.info
+++ b/misc/curtain/curtain.info
@@ -1,8 +1,8 @@
PRGNAM="curtain"
-VERSION="0.1"
+VERSION="0.3"
HOMEPAGE="http://code.google.com/p/ardesia/"
-DOWNLOAD="http://ardesia.googlecode.com/files/curtain-0.1.tar.gz"
-MD5SUM="8fc9a40e0eae71dbfa148fb967fd8aa6"
+DOWNLOAD="http://ardesia.googlecode.com/files/curtain-0.3.tar.gz"
+MD5SUM="67bd5586d8a19233d047645f74ebf23f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""