termux-packages/x11-packages/uget/build.sh

20 lines
821 B
Bash
Raw Normal View History

TERMUX_PKG_HOMEPAGE=https://ugetdm.com/
TERMUX_PKG_DESCRIPTION="GTK+ download manager featuring download classification and HTML import"
TERMUX_PKG_LICENSE="LGPL-2.0"
2019-05-17 00:18:48 +02:00
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
2019-05-21 23:39:45 +02:00
TERMUX_PKG_VERSION=2.2.2
2020-02-05 15:42:01 +01:00
TERMUX_PKG_REVISION=6
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/urlget/uget-${TERMUX_PKG_VERSION}.tar.gz
2019-05-21 23:39:45 +02:00
TERMUX_PKG_SHA256=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
TERMUX_PKG_DEPENDS="atk, gdk-pixbuf, glib, gstreamer, gtk3, libandroid-shmem, libcairo, libcurl, libnotify, openssl, pango"
TERMUX_PKG_SUGGESTS="aria2"
TERMUX_PKG_RM_AFTER_INSTALL="lib/locale"
termux_step_pre_configure() {
export LIBS="-landroid-shmem"
}
termux_step_post_make_install() {
ln -sfr "${TERMUX_PREFIX}/bin/uget-gtk" "${TERMUX_PREFIX}/bin/uget"
}