void-packages/srcpkgs/uget/template

22 lines
633 B
Bash

# Template file for 'uget'
pkgname=uget
version=2.2.2
revision=4
build_style=gnu-configure
hostmakedepends="pkg-config intltool"
makedepends="libnotify-devel gtk+3-devel libcurl-devel gstreamer1-devel"
short_desc="GTK+ download manager"
maintainer="Alexander Mamay <alexander@mamay.su>"
license="LGPL-2.1-or-later"
homepage="http://ugetdm.com/"
distfiles="${SOURCEFORGE_SITE}/urlget/${pkgname}-${version}.tar.gz"
checksum=5cf7f311ef59bd02b71e0ce750dd37a0299ef15f9f6c6e7e60ffd175409abfc2
CFLAGS="-fcommon"
post_patch() {
vsed -i -e '/DATADIRNAME=/s/=.*/=share/' \
-e '/localedir=.*eval/s,=.*,=/usr/share/locale,' \
configure
}