diff options
author | Fernando Lopez Jr <fernando.lopezjr@gmail.com> | 2021-01-01 23:46:10 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-01-02 10:48:27 +0700 |
commit | 5fb3b0a24caf4472cbcc8d027dfea6c3c9ad875f (patch) | |
tree | 701282827539b627bb4ca4531d1b15910ebd7d9d | |
parent | 191138093143bd9eb56b23969e6f0be4ab7c7427 (diff) | |
download | slackbuilds-5fb3b0a24caf4472cbcc8d027dfea6c3c9ad875f.tar.gz |
graphics/flameshot: Updated for version 0.8.5.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | graphics/flameshot/flameshot.SlackBuild | 23 | ||||
-rw-r--r-- | graphics/flameshot/flameshot.info | 8 |
2 files changed, 17 insertions, 14 deletions
diff --git a/graphics/flameshot/flameshot.SlackBuild b/graphics/flameshot/flameshot.SlackBuild index 0e8f69f2af..e77b519488 100644 --- a/graphics/flameshot/flameshot.SlackBuild +++ b/graphics/flameshot/flameshot.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=flameshot -VERSION=${VERSION:-0.6.0} +VERSION=${VERSION:-0.8.5} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} @@ -60,7 +60,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.?z cd $PRGNAM-$VERSION chown -R root:root . @@ -70,19 +70,22 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -qmake-qt5 -recursive flameshot.pro \ - PREFIX=/usr \ - CONFIG+=packaging \ - QMAKE_CFLAGS="$SLKCFLAGS" \ - QMAKE_CXXFLAGS="$SLKCFLAGS" -make -make install INSTALL_ROOT=$PKG +mkdir -p build +cd build + /opt/cmake-202x/bin/cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release .. + make VERBOSE=1 + make install DESTDIR=$PKG +cd .. find $PKG -print0 | xargs -0 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 CONTRIBUTING.md LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE README.md docs/ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/graphics/flameshot/flameshot.info b/graphics/flameshot/flameshot.info index 1d357c9f06..8ef185bd1e 100644 --- a/graphics/flameshot/flameshot.info +++ b/graphics/flameshot/flameshot.info @@ -1,10 +1,10 @@ PRGNAM="flameshot" -VERSION="0.6.0" +VERSION="0.8.5" HOMEPAGE="https://flameshot.js.org" -DOWNLOAD="https://github.com/lupoDharkael/flameshot/archive/v0.6.0/flameshot-0.6.0.tar.gz" -MD5SUM="e7bfcd53264c5b105556580cf0f2c231" +DOWNLOAD="https://github.com/lupoDharkael/flameshot/archive/v0.8.5/flameshot-0.8.5.tar.gz" +MD5SUM="be843bc62c0955a0aadc2a5dcc66e4b3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="qt5" +REQUIRES="qt5 cmake-202x" MAINTAINER="Fernando Lopez Jr." EMAIL="fernando.lopezjr@gmail.com" |