# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697
# Contributor: Freemor <freemor@freemor.ca>

pkgname=arss
pkgver=0.2.3
pkgrel=2
pkgdesc="The Analysis & Resynthesis Sound Spectrograph"
arch=('i686' 'x86_64')
url="http://arss.sourceforge.net/"
license=('GPL2')
makedepends=('cmake' 'fftw')
source=("https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgver/$pkgname-$pkgver-src.tar.gz")
sha512sums=('7ef7115b310c9f4ecb7bdc8f34fb1afadabadb56d50ddef27a7688fd28af511ebaa1468f2c11a91077b8197027f9e31333c22d6b5f39d2a35d7b7dfc5b90658d')

build() {
  cd $pkgname-$pkgver-src/src
	cmake . && make
}

package() {
  cd $pkgname-$pkgver-src/src
   mkdir -p ${pkgdir}/usr/bin
   install -m 644 "arss"  ${pkgdir}/usr/bin/arss
}
