summaryrefslogtreecommitdiff
path: root/desktop/flatpak/flatpak.SlackBuild
diff options
context:
space:
mode:
authorVincent Batts <vbatts@hashbangbash.com>2018-11-11 17:54:23 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-12 07:19:23 +0700
commit23846f533c70cce449460ad7f9894d03af991846 (patch)
treee843b2f66eb319d44b86a6c1fe2410c63a342970 /desktop/flatpak/flatpak.SlackBuild
parent6315745ea92208b3e734f8ba2391194c649eeac9 (diff)
downloadslackbuilds-23846f533c70cce449460ad7f9894d03af991846.tar.gz
desktop/flatpak: split -builder into its own pkg.
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.SlackBuild31
1 files changed, 1 insertions, 30 deletions
diff --git a/desktop/flatpak/flatpak.SlackBuild b/desktop/flatpak/flatpak.SlackBuild
index 8793724e17..ae9e2b3e6e 100644
--- a/desktop/flatpak/flatpak.SlackBuild
+++ b/desktop/flatpak/flatpak.SlackBuild
@@ -24,9 +24,7 @@
PRGNAM=flatpak
VERSION=${VERSION:-1.0.4}
-BUILDER_PRGNAM=${PRGNAM}-builder
-BUILDER_VERSION=${BUILDER_VERSION:-1.0.1}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -86,33 +84,6 @@ 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 \