summaryrefslogtreecommitdiff
path: root/libre/audio-convert-parabola/PKGBUILD
blob: 62e218bc5f5efe9eb16ce557fd6cb7bc59ae2dc7 (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
33
# $Id: PKGBUILD 91081 2013-05-18 21:26:27Z jlichtblau $
# Maintainer (Arch): Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor (Arch): Igor Galic <i.galic@gmail.com>
# Maintainer: André Silva <emulatorman@parabola.nu>

_pkgname=audio-convert
pkgname=audio-convert-parabola
pkgver=0.3.1.1
pkgrel=7
pkgdesc="A script with an easy to use interface to convert audio files: wav, mp3, ogg, flac, aac, mpc, ape and wma, without nonfree faac recommendation"
arch=('any')
url="http://freshmeat.net/projects/audio-convert"
license=('GPL')
depends=('bash' 'zenity')
optdepends=('faad2: for aac support'
            'flac: for flac support'
            'id3lib: for mp3 support'
            'lame: for mp3 support'
            'mplayer: for wma support'
            'musepack-tools: for mpc support'
            'vorbis-tools: for ogg support')
replaces=("${_pkgname}" "${_pkgname}-libre")
conflicts=("${_pkgname}" "${_pkgname}-libre")
provides=(${_pkgname}=${pkgver})
source=(http://savannah.nongnu.org/download/$_pkgname/$_pkgname-$pkgver.tar.bz2)
sha256sums=('7b37d5fc2a4dd62885910b6424f5ff6870c329ed4f4f51feeeb952152c7d9d2b')

package() {
  install -D -m755 "$srcdir/$_pkgname-$pkgver/$_pkgname" "$pkgdir/usr/bin/$_pkgname"

#FS#29260 fix
  sed -i '46 s/^/#/' "$pkgdir/usr/bin/$_pkgname"
}