void-packages/srcpkgs/smtube/template
2021-11-11 03:44:21 -03:00

29 lines
923 B
Bash

# Template file for 'smtube'
pkgname=smtube
version=21.10.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 youtube-dl"
short_desc="Small youtube browser"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://www.smtube.org/"
changelog="https://raw.githubusercontent.com/smplayer-dev/smtube/master/Release_notes.md"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=650214022fd80becec607561969ad9e4ae8d1af4fa2e88e6750d59f960a0d655
post_build() {
lrelease smtube.pro
}
do_install() {
cd "${wrksrc}"
make install PREFIX=/usr DESTDIR="${DESTDIR}"
}