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