# Maintainer: Mike Swanson pkgname=reflac pkgver=1.5.1 pkgrel=1 pkgdesc="Recompresses FLAC files while preserving tags" arch=('any') url="https://github.com/chungy/reflac" depends=('flac') makedepends=('asciidoc') license=('ISC') source=("$url"/archive/"$pkgver".tar.gz) sha512sums=('64e66150d4bf10aa58e140b92eed3ae2a3e33c3752aabd16850ebf5606049f964605c15be45b9c7fa725cb8efb696b76d781c5a3acdcae2f2d0b51ea71206975') build() { cd "$srcdir/$pkgname-$pkgver" make } package() { cd "$srcdir/$pkgname-$pkgver" make prefix=/usr DESTDIR="$pkgdir" install install -Dm 644 COPYING "$pkgdir"/usr/share/licenses/reflac/COPYING }