void-packages/srcpkgs/smtube/template

28 lines
853 B
Bash

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