# Maintainer: bill-auger <bill-auger@programmer.net>


pkgname=linjam
pkgver=0.31.2
pkgrel=1
pkgdesc="NINJAM client with linear chain-streaming mode"
arch=(armv7h i686 x86_64)
url=https://github.com/linjam/linjam
license=(GPL3)

depends=('libninjam>=0.7' libxinerama mesa)
makedepends=(freetype2 libxcomposite libxcursor libxrandr)

source=(${pkgname}-${pkgver}.tar.gz::https://github.com/linjam/${pkgname}/archive/v${pkgver}.tar.gz)
sha256sums=('63dbd93c6b33acf6f449fb912e143baa970f5a753fab1b944061bfaf91b45777')


build()
{
  cd ${pkgname}-${pkgver}/Builds/Makefile

  make
}

package()
{
  cd ${pkgname}-${pkgver}/Builds/Makefile

#   make DESTDIR="$pkgdir/" install
 install -vDm 755 build/linjam "${pkgdir}"/usr/bin/linjam
}
