32 lines
965 B
Bash
32 lines
965 B
Bash
# Template file for '2048-qt'
|
|
pkgname=2048-qt
|
|
version=0.1.6
|
|
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"
|
|
checksum=994b472d9798ebcae6b5e5a733f175f0278ab9f2f6cde1511a08335899e8f892
|
|
wrksrc="2048-Qt-${version}"
|
|
|
|
do_install() {
|
|
vbin 2048-qt
|
|
|
|
for size in 16 32 48 256; do
|
|
vinstall res/icons/${size}x${size}/apps/2048-qt.png 644 usr/share/icons/hicolor/${size}x${size}/apps
|
|
done
|
|
vinstall res/icons/scalable/apps/2048-qt.svg 644 usr/share/icons/hicolor/scalable/apps
|
|
|
|
vlicense LICENSE
|
|
|
|
vinstall res/2048-qt.desktop 644 usr/share/applications
|
|
vdoc README.md
|
|
vdoc Changelog.md
|
|
|
|
vman res/man/2048-qt.6
|
|
}
|