30e45b23ba
Also: - add changelog - add youtube-dl to depends. Closes: #32110 [via git-merge-pr]
29 lines
922 B
Bash
29 lines
922 B
Bash
# Template file for 'smtube'
|
|
pkgname=smtube
|
|
version=21.7.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=77e47778cd813ddaec63b5d7fba216a73e9c288cbf2f6c7488b647d264e07dc7
|
|
|
|
post_build() {
|
|
lrelease smtube.pro
|
|
}
|
|
|
|
do_install() {
|
|
cd "${wrksrc}"
|
|
make install PREFIX=/usr DESTDIR="${DESTDIR}"
|
|
}
|