summaryrefslogtreecommitdiff
path: root/community/wavegain/PKGBUILD
blob: 183516e86cb4fd6ecb9fcf0cad305423c3dbb4a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $Id: PKGBUILD 67386 2012-03-10 21:21:31Z lcarlier $
# Maintainer: Ray Rashif <schiv@archlinux.org>
# Contributor: Corrado Primier <bardo@aur.archlinux.org>

pkgname=wavegain
_realname=WaveGain
pkgver=1.3.1
pkgrel=1
pkgdesc="A command line tool to normalize sound files"
arch=('i686' 'x86_64')
url="http://rarewares.org/others.php"
license=('LGPL')
depends=('libsndfile')
source=(http://www.rarewares.org/files/others/$pkgname-${pkgver}srcs.zip)
md5sums=('456106bae00cec2ec4024da992bc5fd0')

build() {
  cd "$srcdir/$_realname-$pkgver"

  #make -f Makefile.linux
  gcc ${LDFLAGS} ${CFLAGS} *.c -o wavegain -DHAVE_CONFIG_H -lm

}

package() {
  cd "$srcdir/$_realname-$pkgver"

  install -Dm755 "$srcdir/$_realname-$pkgver/wavegain" \
    "$pkgdir/usr/bin/wavegain"
}

# vim:set ts=2 sw=2 et: