# $Id: PKGBUILD 256064 2017-09-06 19:15:21Z arodseth $
# Maintainer: Alexander F Rødseth <xyproto@archlinux.org>
# Contributor: Chris Brannon <chris@the-brannons.com>
# Contributor: Corrado Primier <bardo@aur.archlinux.org>
# Contributor: Patrick Burroughs <celticmadman@gmail.com>

pkgname=flac123
pkgver=0.0.12
pkgrel=3
pkgdesc='Command-line program for playing FLAC audio files'
arch=('x86_64' 'i686')
license=('GPL2')
url='https://flac-tools.sourceforge.net/'
depends=('flac' 'libao' 'popt')
source=("https://downloads.sourceforge.net/flac-tools/${pkgname}-${pkgver}-release.tar.gz")
sha256sums=('1976efd54a918eadd3cb10b34c77cee009e21ae56274148afa01edf32654e47d')

build() {
  cd "$pkgname-$pkgver"

  autoreconf --force --install
  ./configure --prefix=/usr
  make
}

package() {
  make DESTDIR="$pkgdir" -C "$pkgname-$pkgver" install
}

# vim:ts=2 sw=2 et:
