# Maintainer: Joshua Rubin pkgname=wdsp-git _pkgname=wdsp pkgver=r56.c55342c pkgrel=1 pkgdesc='NR0V DSP library ported to linux' arch=('x86_64') url='https://github.com/g0orx/wdsp' license=('GPL2') depends=() makedepends=('git') provides=("${_pkgname}") conflicts=("${_pkgname}") source=("${_pkgname}::git+https://github.com/g0orx/${_pkgname}") md5sums=('SKIP') sha1sums=('SKIP') sha256sums=('SKIP') sha384sums=('SKIP') sha512sums=('SKIP') pkgver() { cd "$_pkgname" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { cd "$_pkgname" make } package() { cd "$_pkgname" install -D wdsp.h -m 0644 "${pkgdir}/usr/include/wdsp.h" install -D libwdsp.so "${pkgdir}/usr/lib/libwdsp.so" }