summaryrefslogtreecommitdiff
path: root/desktop/gtk-engines/gtk-engines.SlackBuild
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2017-03-20 00:03:02 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-03-20 00:03:02 +0700
commit43b332924ee43233091e6287dfcf6c59daf63574 (patch)
tree18635e7b9fb0e2849a803dd714db064da0092d8d /desktop/gtk-engines/gtk-engines.SlackBuild
parent77aa41e117d5d26cfd34427d320ce18094992e54 (diff)
downloadslackbuilds-43b332924ee43233091e6287dfcf6c59daf63574.tar.gz
desktop/gtk-engines: Updated for version 2.21.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/gtk-engines/gtk-engines.SlackBuild')
-rw-r--r--desktop/gtk-engines/gtk-engines.SlackBuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/desktop/gtk-engines/gtk-engines.SlackBuild b/desktop/gtk-engines/gtk-engines.SlackBuild
index e1ace5e4c0..19f55c96cc 100644
--- a/desktop/gtk-engines/gtk-engines.SlackBuild
+++ b/desktop/gtk-engines/gtk-engines.SlackBuild
@@ -23,9 +23,12 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Based on the gtk-engines SlackBuild from MSB Project:
+# https://github.com/mateslackbuilds/msb/tree/master/deps/gtk-engines
+
PRGNAM=gtk-engines
-VERSION=${VERSION:-2.20.2}
-BUILD=${BUILD:-4}
+VERSION=${VERSION:-2.21.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -52,8 +55,6 @@ elif [ "$ARCH" = "x86_64" ]; then
LIBDIRSUFFIX="64"
fi
-DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README"
-
set -e
rm -rf $PKG
@@ -80,7 +81,7 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-animation \
- --disable-static \
+ --disable-deprecated \
--build=$ARCH-slackware-linux
make
@@ -90,7 +91,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a {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