# Maintainer: Storm Dragon pkgname=rbspeex-git pkgver=1.4.0.r540.0f61e38 pkgrel=1 pkgdesc='Rockbox specific speex Utility' arch=('i686' 'x86_64') url='http://www.rockbox.org/twiki/bin/view/Main/RockboxUtility' license=("GPL") depends=('libusbx' 'qt5-base') makedepends=('gendesk' 'git' 'qt5-tools') provides=("rbspeexdec" "rbspeexenc") conflicts=("rbspeexdec" "rbspeexenc") source=("${pkgname%-*}::git://git.rockbox.org/rockbox") sha256sums=('SKIP') pkgver() { cd "${srcdir}"/${pkgname%-*} printf "1.4.0.r%s.%s" "$(git rev-list rbutil_1.4.0..HEAD --count)" "$(git rev-parse --short HEAD)" } build() { cd $srcdir/${pkgname%-*}/tools/rbspeex/ make } package(){ cd $srcdir/${pkgname%-*}/tools/ install -d "$pkgdir/usr/bin" install -m 755 rbspeexenc "${pkgdir}"/usr/bin/ install -m 755 rbspeexdec "${pkgdir}"/usr/bin/ } # vim: ts=2 sw=2 et: