diff options
Diffstat (limited to 'desktop/gmrun/gmrun.SlackBuild')
-rw-r--r-- | desktop/gmrun/gmrun.SlackBuild | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/desktop/gmrun/gmrun.SlackBuild b/desktop/gmrun/gmrun.SlackBuild index ebb00e79e3..ad6e7d58e5 100644 --- a/desktop/gmrun/gmrun.SlackBuild +++ b/desktop/gmrun/gmrun.SlackBuild @@ -4,7 +4,7 @@ # # Copyright 2010 Binh Nguyen <binhvng@gmail.com> # Copyright 2014 Ryan P.C. McQuen, WA, ryanpcmcquen@member.fsf.org -# Copyright 2017 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2017-2018 Edinaldo P. Silva, Rio de Janeiro, Brazil. # # All rights reserved. # @@ -26,8 +26,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=gmrun -VERSION=${VERSION:-0.9.2} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.9.4w} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -73,18 +73,10 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# Apply some patches from Debian: +# Some patches (most from Debian): +for i in $CWD/patches/* ; do patch -p1 < $i; done -patch -p1 < $CWD/patches/10-escaping.patch -patch -p1 < $CWD/patches/20-includes.patch -patch -p1 < $CWD/patches/30-fix-gcc-4.3-build.patch -patch -p1 < $CWD/patches/40-history_string.patch -patch -p1 < $CWD/patches/50-empty-history.patch -patch -p1 < $CWD/patches/60-fix_gtkcompletionline.patch -patch -p1 < $CWD/patches/70-cmdline.patch -patch -p1 < $CWD/patches/80-selectoption.patch -patch -p1 < $CWD/patches/90-window_placement.patch -patch -p1 < $CWD/patches/100-gmrunrc.patch +autoreconf -fiv CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -109,7 +101,7 @@ 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 +cp AUTHORS COPYING ChangeLog INSTALL NEWS README* $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |