mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
system/omnidb-app: Updated for version 2.17.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
f02e502647
commit
cc0ba14508
2 changed files with 26 additions and 8 deletions
|
@ -27,19 +27,34 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=omnidb-app
|
||||
VERSION=${VERSION:-2.16.0}
|
||||
VERSION=${VERSION:-2.17.0}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
ARCH=x86_64
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i586 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
DEBARCH="amd64"
|
||||
LIBDIRSUFFIX="64"
|
||||
# Doesn't support 32bit anymore.
|
||||
# if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then
|
||||
# DEBARCH="i386"
|
||||
# LIBDIRSUFFIX=""
|
||||
if [ "$ARCH" = "x86_64" ]; then
|
||||
DEBARCH="amd64"
|
||||
LIBDIRSUFFIX="64"
|
||||
else
|
||||
echo "$ARCH is not supported."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
|
@ -54,7 +69,10 @@ 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 {} \;
|
||||
|
||||
# Don't strip the binaries as it would cause the applications to break
|
||||
# I removed the following line from the file "omnidb-app.SlackBuild" because
|
||||
# it was breaking the app
|
||||
# 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
|
||||
|
||||
sed -i -e "s#Icon=omnidb#Icon=/usr/share/icons/hicolor/128x128/apps/omnidb.png#" \
|
||||
$PKG/usr/share/applications/omnidb-app.desktop
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="omnidb-app"
|
||||
VERSION="2.16.0"
|
||||
VERSION="2.17.0"
|
||||
HOMEPAGE="https://omnidb.org/en/"
|
||||
DOWNLOAD="UNSUPPORTED"
|
||||
MD5SUM=""
|
||||
DOWNLOAD_x86_64="https://omnidb.org/dist/2.16.0/omnidb-app_2.16.0-debian-amd64.deb"
|
||||
MD5SUM_x86_64="1c87877f7baac2068ffad3b039910fec"
|
||||
DOWNLOAD_x86_64="https://omnidb.org/dist/2.17.0/omnidb-app_2.17.0-debian-amd64.deb"
|
||||
MD5SUM_x86_64="1e73923ad22c02d58c5a66207cc2e69d"
|
||||
REQUIRES=""
|
||||
MAINTAINER="Gabriel Diniz Gisoldo"
|
||||
EMAIL="gabrielgisoldi@gmail.com"
|
||||
|
|
Loading…
Reference in a new issue