diff options
author | Luka Novsak <lnovsak@gmail.com> | 2014-05-20 19:59:55 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-05-20 19:59:55 +0700 |
commit | f3f7963e6ef33de6e08c67489512ac7e8f5dfeb1 (patch) | |
tree | 7c8f2140896c32249c1bcd001e3230ba20b6860b /desktop/parcellite/parcellite.SlackBuild | |
parent | fa30cf97ce124707ed2d6de96a9ff60908cbd7fd (diff) |
desktop/parcellite: Updated for version 1.1.7 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/parcellite/parcellite.SlackBuild')
-rw-r--r-- | desktop/parcellite/parcellite.SlackBuild | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/desktop/parcellite/parcellite.SlackBuild b/desktop/parcellite/parcellite.SlackBuild index 8df1607d3443..911cefbb0145 100644 --- a/desktop/parcellite/parcellite.SlackBuild +++ b/desktop/parcellite/parcellite.SlackBuild @@ -4,7 +4,7 @@ # Written by Phillip Warner <pc_warner@yahoo.com> PRGNAM=parcellite -VERSION=${VERSION:-1.0.2rc5} +VERSION=${VERSION:-1.1.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -44,10 +44,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz 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 \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -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 {} \; if [ "$NOICON" = "YES" ]; then # Force parcellite to use the stock GTK icons @@ -55,9 +55,6 @@ if [ "$NOICON" = "YES" ]; then sed -i "s/PARCELLITE_ICON/GTK_STOCK_PASTE/" src/main.c sed -i "s/#define GTK_STOCK_PASTE \"parcellite\"//" src/main.c fi -# Starting with glib 2.32 it is now mandatory to -# include glib.h instead of individual headers. -patch -p1 -i $CWD/glib-single-include.patch CFLAGS="$SLKCFLAGS" \ CPPFLAGS="$SLKCFLAGS" \ @@ -78,15 +75,14 @@ if [ "$NOICON" = "YES" ]; then rm -rfv $PKG/usr/share/pixmaps/ fi -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +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 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 README TODO INSTALL NEWS \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING ChangeLog README TODO INSTALL NEWS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |