updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / mp3val / PKGBUILD
blob244f9f09ee5310e7dd030548c4f982970b473bc8
1 # Maintainer:  TDY <tdy@gmx.com>
2 # Contributor: Dmitry N. Shilov <stormblast@land.ru>
4 pkgname=mp3val
5 pkgver=0.1.8
6 pkgrel=1
7 pkgdesc="A tool for validating and repairing MPEG audio streams"
8 arch=('i686' 'x86_64')
9 url="http://mp3val.sourceforge.net/"
10 license=('GPL')
11 depends=('gcc-libs')
12 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-src.tar.gz
13         $pkgname.1)
14 md5sums=('dc8adad909d0b8734ed22029b2de2cb4'
15          '0195e80d4ea32855fd15fe76e3855acd')
17 build() {
18   cd "$srcdir/$pkgname-$pkgver-src"
19   make -f Makefile.linux CXXFLAGS="$CXXFLAGS" || return 1
22 package() {
23   cd "$srcdir/$pkgname-$pkgver-src"
24   install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname"
25   install -Dm644 ../$pkgname.1 "$pkgdir/usr/share/man/man1/$pkgname.1"