void-packages/srcpkgs/djview/template
Đoàn Trần Công Danh 9e4d7ac29d djview: fix dbg package
2021-04-09 18:06:35 +07:00

26 lines
869 B
Bash

# Template file for 'djview'
pkgname=djview
version=4.12
revision=3
wrksrc="djview4-${version}"
build_style=gnu-configure
build_helper=qmake
configure_args="ac_cv_path_QMAKE=${XBPS_WRAPPERDIR}/qmake-qt5"
hostmakedepends="automake pkg-config qt5-host-tools qt5-qmake libtool"
makedepends="qt5-devel djvulibre-devel libxkbcommon-devel libSM-devel libXt-devel"
short_desc="Portable DjVu viewer and browser plugin"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later"
homepage="http://djvu.sourceforge.net/djview4.html"
distfiles="${SOURCEFORGE_SITE}/djvu/${pkgname}-${version}.tar.gz"
checksum=5673c6a8b7e195b91a1720b24091915b8145de34879db1158bc936b100eaf3e3
post_extract() {
vsed -i -e '/Exec/s/djview4/djview/' \
-e '/StartupWMClass/s/Djview4/DjView/' \
desktopfiles/djvulibre-djview4.desktop
}
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}