void-packages/srcpkgs/2048-qt/template

33 lines
965 B
Bash
Raw Normal View History

2017-08-10 15:06:10 +02:00
# Template file for '2048-qt'
pkgname=2048-qt
2017-10-15 15:47:50 +02:00
version=0.1.6
2017-08-10 15:06:10 +02:00
revision=1
build_style=qmake
hostmakedepends="qt5-declarative-devel"
makedepends="qt5-declarative-devel"
depends="desktop-file-utils hicolor-icon-theme qt5-quickcontrols xdg-utils"
maintainer="cr6git <quark6@protonmail.com>"
short_desc="The 2048 game implemented in Qt"
homepage="https://github.com/xiaoyong/2048-Qt"
license="MIT"
distfiles="https://github.com/xiaoyong/2048-Qt/archive/v${version}.tar.gz"
2017-10-15 15:47:50 +02:00
checksum=994b472d9798ebcae6b5e5a733f175f0278ab9f2f6cde1511a08335899e8f892
2017-08-10 15:06:10 +02:00
wrksrc="2048-Qt-${version}"
do_install() {
vbin 2048-qt
for size in 16 32 48 256; do
2017-10-15 15:47:50 +02:00
vinstall res/icons/${size}x${size}/apps/2048-qt.png 644 usr/share/icons/hicolor/${size}x${size}/apps
2017-08-10 15:06:10 +02:00
done
2017-10-15 15:47:50 +02:00
vinstall res/icons/scalable/apps/2048-qt.svg 644 usr/share/icons/hicolor/scalable/apps
2017-08-10 15:06:10 +02:00
vlicense LICENSE
2017-10-15 15:47:50 +02:00
vinstall res/2048-qt.desktop 644 usr/share/applications
2017-08-10 15:06:10 +02:00
vdoc README.md
vdoc Changelog.md
2017-10-15 15:47:50 +02:00
vman res/man/2048-qt.6
2017-08-10 15:06:10 +02:00
}