|
|
|
@ -27,7 +27,7 @@ |
|
|
|
cd $(dirname $0) ; CWD=$(pwd) |
|
|
|
|
|
|
|
PRGNAM=mate-desktop |
|
|
|
VERSION=${VERSION:-1.26.1} |
|
|
|
VERSION=${VERSION:-1.26.2} |
|
|
|
BUILD=${BUILD:-1} |
|
|
|
TAG=${TAG:-_SBo} |
|
|
|
PKGTYPE=${PKGTYPE:-tgz} |
|
|
|
@ -80,9 +80,9 @@ cd $PRGNAM-$VERSION |
|
|
|
chown -R root:root . |
|
|
|
find -L . \ |
|
|
|
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ |
|
|
|
-o -perm 511 \) -exec chmod 755 {} \+ -o \ |
|
|
|
-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 {} \+ |
|
|
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} + |
|
|
|
|
|
|
|
CFLAGS="$SLKCFLAGS" \ |
|
|
|
CXXFLAGS="$SLKCFLAGS" \ |
|
|
|
@ -96,7 +96,7 @@ CXXFLAGS="$SLKCFLAGS" \ |
|
|
|
--disable-static \ |
|
|
|
--enable-shared \ |
|
|
|
--disable-schemas-compile \ |
|
|
|
--enable-introspection \ |
|
|
|
--enable-introspection=auto \ |
|
|
|
--build=$ARCH-slackware-linux |
|
|
|
|
|
|
|
make |
|
|
|
@ -110,7 +110,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr |
|
|
|
mkdir -p $PKG/usr/share/applications |
|
|
|
cp $CWD/mate-mimeapps.list $PKG/usr/share/applications |
|
|
|
|
|
|
|
find $PKG/usr/man -type f -exec gzip -9 {} \+ |
|
|
|
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 |
|
|
|
@ -118,9 +118,6 @@ cp -a AUTHORS COPYING COPYING-DOCS COPYING.LIB ChangeLog NEWS README \ |
|
|
|
$PKG/usr/doc/$PRGNAM-$VERSION |
|
|
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |
|
|
|
|
|
|
|
# Fix icon |
|
|
|
sed -i "s|Icon=gcolor2|Icon=/usr/share/icons/matefaenza/apps/scalable/gcolor2.svg|" $PKG/usr/share/applications/mate-color-select.desktop |
|
|
|
|
|
|
|
mkdir -p $PKG/install |
|
|
|
cat $CWD/slack-desc > $PKG/install/slack-desc |
|
|
|
cat $CWD/doinst.sh > $PKG/install/doinst.sh |
|
|
|
|