summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2020-05-09 19:05:06 +0200
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:22:31 -0500
commit08c5952d73fcd74758c7eaf32d06a49616334c9a (patch)
treec4397e58f7e48299c115f0405a77174cbc4cc5c3
parent356b55d58bbf713053eb935f9081e6176dd70624 (diff)
downloadslackbuilds-08c5952d73fcd74758c7eaf32d06a49616334c9a.tar.gz
system/file-roller: Updated for version 3.36.2, switch to meson.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--system/file-roller/file-roller.SlackBuild34
-rw-r--r--system/file-roller/file-roller.info6
2 files changed, 20 insertions, 20 deletions
diff --git a/system/file-roller/file-roller.SlackBuild b/system/file-roller/file-roller.SlackBuild
index 1894ba77d6..9ab5ef132c 100644
--- a/system/file-roller/file-roller.SlackBuild
+++ b/system/file-roller/file-roller.SlackBuild
@@ -26,7 +26,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=file-roller
-VERSION=${VERSION:-3.24.1}
+VERSION=${VERSION:-3.36.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,21 +72,21 @@ 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 {} \;
-CFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --infodir=/usr/info \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --localedir=/usr/share/locale \
- --disable-static \
- --build=$ARCH-slackware-linux
-
-make V=1
-make install DESTDIR=$PKG
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc
+ ninja
+ DESTDIR=$PKG ninja install
+cd ..
#won't work with thunar archive-plugin without renaming desktop file:
mv $PKG/usr/share/applications/org.gnome.FileRoller.desktop $PKG/usr/share/applications/file-roller.desktop
@@ -95,7 +95,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog HACKING INSTALL MAINTAINERS NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING HACKING MAINTAINERS NEWS README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/system/file-roller/file-roller.info b/system/file-roller/file-roller.info
index f2ac306e47..87df0fc1d7 100644
--- a/system/file-roller/file-roller.info
+++ b/system/file-roller/file-roller.info
@@ -1,8 +1,8 @@
PRGNAM="file-roller"
-VERSION="3.24.1"
+VERSION="3.36.2"
HOMEPAGE="http://ftp.gnome.org/pub/gnome/sources/file-roller"
-DOWNLOAD="http://ftp.acc.umu.se/pub/gnome/sources/file-roller/3.24/file-roller-3.24.1.tar.xz"
-MD5SUM="1e6be71792c7a8e4950297e9fdcf33e7"
+DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/file-roller/3.36/file-roller-3.36.2.tar.xz"
+MD5SUM="caa0103ab34d237a9760fbf5e1c72bc1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""