Username: Password: Remember me
# Maintainer: gnastyle
 
pkgname=2048-qml
pkgver=0.1
pkgrel=1
pkgdesc="Clone the popular game 2048 on QML"
arch=('x86_64')
license=('LGPL')
url=("http://qt-apps.org/content/show.php/2048?content=165623")
screenshot='http://qt-apps.org/CONTENT/content-pre1/165623-1.png'
depends=('qt5-base')
source=("http://qt-apps.org/CONTENT/content-files/165623-2048.zip"
        "$pkgname.desktop"
        "$pkgname.png")
sha512sums=('848e087099f58b293a5de1fb50352ace32edee930155fa69ab098a0a242f540f2c392da68f5afd1994ba670b774667cd53cc4e189f638ed7fdb0a596ea2b0ada'
            '7cdb015e24c7d2f5b1f55c34d19bcdb70109930c218af61d9f336ca930340eb082e303d373f24316d61259fee643b499cf01df878a80fac8e42a5886ac055fcd'
            'b7ff694e8443a89eeb4e4a1534f237a43e5ec84af89454ac95689fe866aaa5b536bdb37f74d101b608ca3849ac836bf8a826b8808625f28b2b2e7d8fee452d72')
 
build() {
  cd $srcdir/2048
  qmake-qt5
  make
} 
 
package() {
  cd $srcdir/2048
 
  install -D  2048 $pkgdir/usr/bin/${pkgname}
  install -D ../../$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
  install -D ../../$pkgname.png    $pkgdir/usr/share/pixmaps/$pkgname.png
}