void-packages/srcpkgs/smtube/template

29 lines
841 B
Bash

# Template file for 'smtube'
pkgname=smtube
version=18.3.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-script-devel qt5-tools-devel qt5-webkit-devel"
makedepends="qt5-script-devel qt5-tools-devel qt5-webkit-devel"
depends="desktop-file-utils hicolor-icon-theme"
short_desc="A small youtube browser"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2.0-or-later"
homepage="http://www.smtube.org/"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
checksum=ab0295be8dddfc65db6bea36e08ef3797948f904f758f63eb725c5c37eed2717
post_build() {
lrelease smtube.pro
}
do_install() {
cd "${wrksrc}"
make install PREFIX=/usr DESTDIR="${DESTDIR}"
}