2017-12-31 22:56:38 +01:00
|
|
|
# Template file for 'nheko'
|
|
|
|
pkgname=nheko
|
2018-03-14 20:30:38 +01:00
|
|
|
version=0.2.1
|
2017-12-31 22:56:38 +01:00
|
|
|
revision=1
|
|
|
|
build_style=cmake
|
2018-03-14 20:30:38 +01:00
|
|
|
hostmakedepends="qt5-qmake qt5-host-tools git"
|
2017-12-31 22:56:38 +01:00
|
|
|
makedepends="lmdb-devel qt5-tools-devel qt5-multimedia-devel"
|
|
|
|
short_desc="Desktop client for the Matrix protocol"
|
|
|
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
2018-03-14 20:30:38 +01:00
|
|
|
license="GPL-3.0-or-later"
|
2017-12-31 22:56:38 +01:00
|
|
|
homepage="https://github.com/mujx/nheko"
|
2018-03-14 20:30:38 +01:00
|
|
|
distfiles="https://github.com/mujx/nheko/archive/v${version}.tar.gz"
|
|
|
|
checksum=b53ea04b2aa728c8db8cfa8c03d343e3a0cd3e2403b5031f0050042896bfcecb
|
2017-12-31 22:56:38 +01:00
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vmkdir usr/share/pixmaps
|
|
|
|
vmkdir usr/share/applications
|
|
|
|
|
|
|
|
vbin build/nheko
|
|
|
|
|
|
|
|
vinstall resources/nheko-256.png 644 usr/share/pixmaps
|
|
|
|
vinstall resources/nheko.desktop 644 usr/share/applications
|
|
|
|
|
|
|
|
local icon_size icon_dir
|
|
|
|
for icon_size in 16 32 48 64 128 256 512; do
|
|
|
|
icon_dir="usr/share/icons/hicolor/${icon_size}x${icon_size}/apps"
|
|
|
|
vmkdir "$icon_dir"
|
|
|
|
vinstall resources/nheko-${icon_size}.png 644 $icon_dir/nheko.png
|
|
|
|
done
|
|
|
|
}
|