diff options
author | Gabriel Diniz Gisoldo <gabrielgisoldi@gmail.com> | 2019-04-19 22:42:33 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-04-19 22:42:33 +0700 |
commit | 5366de2834cd87103ffd94ddfc30476a43a332c0 (patch) | |
tree | fecd9895c40f10128032449c7a63cc32aa1d772a /system/omnidb-app/omnidb-app.SlackBuild | |
parent | 73aa594b93a4d599405f0eb4327140271c418fe0 (diff) | |
download | slackbuilds-5366de2834cd87103ffd94ddfc30476a43a332c0.tar.gz |
system/omnidb-app: Updated for version 2.15.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/omnidb-app/omnidb-app.SlackBuild')
-rw-r--r-- | system/omnidb-app/omnidb-app.SlackBuild | 27 |
1 files changed, 4 insertions, 23 deletions
diff --git a/system/omnidb-app/omnidb-app.SlackBuild b/system/omnidb-app/omnidb-app.SlackBuild index 17331c38ec..528254774c 100644 --- a/system/omnidb-app/omnidb-app.SlackBuild +++ b/system/omnidb-app/omnidb-app.SlackBuild @@ -27,33 +27,19 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=omnidb-app -VERSION=${VERSION:-2.14.0} +VERSION=${VERSION:-2.15.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi +ARCH=x86_64 CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then - DEBARCH="i386" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - DEBARCH="amd64" - LIBDIRSUFFIX="64" -else - echo "$ARCH is not supported." - exit 1 -fi +DEBARCH="amd64" +LIBDIRSUFFIX="64" set -e @@ -68,11 +54,6 @@ 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 {} \; -# 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 |