void-packages/srcpkgs/smtube/template
2021-03-08 10:40:33 +07:00

28 lines
821 B
Bash

# Template file for 'smtube'
pkgname=smtube
version=20.6.0
revision=1
build_wrksrc=src
build_style=qmake
make_build_args="
DATA_PATH=\\\"/usr/share/smtube\\\"
TRANSLATION_PATH=\\\"/usr/share/smtube/translations\\\"
DOC_PATH=\\\"/usr/share/doc/smtube\\\""
hostmakedepends="qt5-qmake qt5-host-tools"
makedepends="qt5-script-devel qt5-tools-devel qt5-webkit-devel"
depends="desktop-file-utils hicolor-icon-theme"
short_desc="Small youtube browser"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://www.smtube.org/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=82f1eb06d2d8fa4304586a40c2e6dde6a44b2224e3157f039b16f3af5f51df42
post_build() {
lrelease smtube.pro
}
do_install() {
cd "${wrksrc}"
make install PREFIX=/usr DESTDIR="${DESTDIR}"
}