termux-packages/x11-packages/xarchiver/build.sh
Leonid Pliushch 496806acd3
xarchiver: force link with libandroid-shmem
Prevents "Bad system call" on Android 8.
2022-04-18 14:09:12 +05:30

15 lines
736 B
Bash

TERMUX_PKG_HOMEPAGE=https://github.com/ib/xarchiver
TERMUX_PKG_DESCRIPTION="GTK+ frontend to various command line archivers"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com> @xeffyr"
TERMUX_PKG_VERSION=0.5.4.13
TERMUX_PKG_REVISION=6
TERMUX_PKG_SRCURL=https://github.com/ib/xarchiver/archive/${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=617154435731554b793ab00cc373d957c066dc29444c6189029299a89430776c
TERMUX_PKG_DEPENDS="atk, binutils, bzip2, cpio, glib, gtk3, gzip, libandroid-shmem, libcairo-x, lzip, lzop, p7zip, tar, unrar, unzip, xz-utils, zip, zstd"
TERMUX_PKG_RM_AFTER_INSTALL="share/icons/hicolor/icon-theme.cache"
termux_step_pre_configure() {
export LIBS="-landroid-shmem"
}