# Template file for 'cinny-desktop'
pkgname=cinny-desktop
version=4.6.0
revision=1
only_for_archs="x86_64"
hostmakedepends="tar xz "
depends="libssl1.1 libcrypto1.1 webkit2gtk"
short_desc="Yet another matrix client for desktop"
maintainer="Naz <ndpm13@ch-naseem.com>"
license="AGPL-3.0"
homepage="https://cinny.in/"
distfiles="https://github.com/cinnyapp/cinny-desktop/releases/download/v${version}/Cinny_desktop-x86_64.deb"
checksum=4b2d27871cccf437e9817dde8162c906f2ec6738c504c8693fac674a1a05d824
nostrip=yes
noverifyrdeps=yes

do_extract() {
  mkdir -p ${DESTDIR}
  ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/Cinny_desktop-x86_64.deb
  tar xf data.tar.gz -C ${DESTDIR}
}

do_install() {
  rm -rf ${DESTDIR}/etc
}