# Maintainer: Fabio 'Lolix' Loli -> https://github.com/FabioLolix # Contributor: Eduardo Sánchez Muñoz pkgname=dsf2flac-git pkgver=r31.6b109cd pkgrel=2 pkgdesc="Tool for converting DSF to FLAC files." arch=(x86_64 i686 pentium4 arm armv6h armv7h aarch64) url="https://github.com/hank/dsf2flac" license=(GPL2) depends=(glibc gcc-libs flac boost-libs taglib id3lib) makedepends=(git boost cmake) source=("git+https://github.com/hank/dsf2flac.git") sha256sums=('SKIP') pkgver() { cd "dsf2flac" echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } prepare() { cd "dsf2flac" ./autogen.sh } build() { cd "$srcdir/dsf2flac" export LIBS=-lboost_timer ./configure --prefix=/usr make } package() { cd "$srcdir/dsf2flac" make install DESTDIR="$pkgdir" }