void-packages/srcpkgs/uget/template
Đoàn Trần Công Danh 3aa352b1b6 uget: fix l10n dir
2021-01-12 21:06:01 +07:00

21 lines
633 B
Bash

# Template file for 'uget'
pkgname=uget
version=2.2.2
revision=3
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
}