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

20 lines
824 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"
2020-05-14 00:01:15 +02:00
TERMUX_PKG_MAINTAINER="Leonid Pliushch <leonid.pliushch@gmail.com>"
2020-02-17 14:55:00 +01:00
TERMUX_PKG_VERSION=2.2.3
2020-08-14 01:13:39 +02:00
TERMUX_PKG_REVISION=13
2020-02-17 14:55:00 +01:00
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/urlget/uget-${TERMUX_PKG_VERSION}-1.tar.gz
TERMUX_PKG_SHA256=11356e4242151b9014fa6209c1f0360b699b72ef8ab47dbeb81cc23be7db9049
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"
}