updated on Mon Jan 23 16:10:15 UTC 2012
[aur-mirror.git] / quelcom / PKGBUILD
blob2ccc2c014eabb834e4820dfc391f4ca8dbd0b54b
1 # Contributor: Vithon <ratm@archlinux.us>
2 pkgname=quelcom
3 pkgver=0.4.0
4 pkgrel=12
5 pkgdesc="Quelcom provides assorted tools to perform simple editing operations on MP3 and WAV audio files. These include fading, check-and-clean, informational extraction and lossless cutting and joining without reencoding."
6 license=('GPL')
7 url="http://packages.ubuntu.com/jaunty/sound/quelcom"
8 arch=('i686' 'x86_64')
9 if [ `uname -m` = 'x86_64' ]; then
10         _arch='amd64'
11         source=('http://mirrors.kernel.org/ubuntu/pool/universe/q/quelcom/quelcom_0.4.0-12_amd64.deb')
12         md5sums=('e3aa716adeadf54d41df65b9feac96ec')
13 elif [ `uname -m` = 'i686' ]; then
14         _arch='i386'
15         source=('http://mirrors.kernel.org/ubuntu/pool/universe/q/quelcom/quelcom_0.4.0-12_i386.deb')
16         md5sums=('8d9b54649a66e40ef3ca1475a11b014f')
20 build() {
21     cd $srcdir
23     bsdtar xf "${pkgname}_${pkgver}-${pkgrel}_${_arch}.deb" || return 1
24     bsdtar xf data.tar.gz -C $pkgdir || return 1