Username: Password: Remember me
pkgname=cutegram
_pkgname=Cutegram
pkgver=2.4.0
pkgrel=1
pkgdesc="A different telegram client from Aseman team"
arch=('x86_64')
screenshot='http://qt-apps.org/CONTENT/content-pre1/168558-1.png'
url="http://aseman.co/en/"
license=('GPL')
depends=('qt5-base' 'qt5-declarative' 'qt5-multimedia' 'qt5-quick1' 'qt5-graphicaleffects' 'qt5-quickcontrols' 'libqtelegram')
#makedepends=('gcc' 'cmake' )
source=("http://aseman.co/downloads/cutegram/2/cutegram_${pkgver}-1-amd64.deb")
sha512sums=('afb329c91227cae27ff46f511389f8a328eecdcbf6980f66314c40d07102ca2143a12a38bc938e91641ec8cc294e42b473b9977661678901a90c84860abc8045')
 
prepare() {
  cd $srcdir
 
  tar -Jxf ${srcdir}/data.tar.xz
 
}
 
package() {
  cd $srcdir
 
  install -D $srcdir/usr/share/applications/Cutegram.desktop \
  $pkgdir/usr/share/applications/cutegram.desktop
  install -D $srcdir/usr/share/pixmaps/cutegram.png \
  $pkgdir/usr/share/pixmaps/cutegram.png
 
  install -d $pkgdir/usr/share/cutegram
  cp -R opt/cutegram/* $pkgdir/usr/share/cutegram
 
  echo "#!/bin/sh
  exec /usr/share/cutegram/cutegram" > $srcdir/cutegram.sh
  install -D $srcdir/cutegram.sh $pkgdir/usr/bin/cutegram
 
}