diff options
author | Vincent Batts <vbatts@hashbangbash.com> | 2018-10-30 23:15:47 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-11-10 07:42:40 +0700 |
commit | 48cdc4c571464a6d9ddfc891f79c64707beee737 (patch) | |
tree | 876182cd86b85450fc5800d988c13fe6a3a51525 /desktop/flatpak/flatpak.SlackBuild | |
parent | 4e97b0485da8d1d81347decbb6fa14890d3e8fd1 (diff) | |
download | slackbuilds-48cdc4c571464a6d9ddfc891f79c64707beee737.tar.gz |
desktop/flatpak: Updated for version 1.0.4.
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/flatpak/flatpak.SlackBuild')
-rw-r--r-- | desktop/flatpak/flatpak.SlackBuild | 35 |
1 files changed, 32 insertions, 3 deletions
diff --git a/desktop/flatpak/flatpak.SlackBuild b/desktop/flatpak/flatpak.SlackBuild index ca29414539..8793724e17 100644 --- a/desktop/flatpak/flatpak.SlackBuild +++ b/desktop/flatpak/flatpak.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for flatpak -# Copyright 2017 Vincent Batts <vbatts@hashbangbash.com> +# Copyright 2017, 2018 Vincent Batts <vbatts@hashbangbash.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,8 +23,10 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=flatpak -VERSION=${VERSION:-0.11.7} -BUILD=${BUILD:-1} +VERSION=${VERSION:-1.0.4} +BUILDER_PRGNAM=${PRGNAM}-builder +BUILDER_VERSION=${BUILDER_VERSION:-1.0.1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -84,6 +86,33 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG +cd $TMP +rm -rf ${BUILDER_PRGNAM}-${BUILDER_VERSION} +tar xvf $CWD/${BUILDER_PRGNAM}-${BUILDER_VERSION}.tar.xz +cd ${BUILDER_PRGNAM}-${BUILDER_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 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --build=$ARCH-slackware-linux \ + --with-system-bubblewrap + +make +make install DESTDIR=$PKG + chmod +x $PKG/etc/profile.d/flatpak.sh find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ |