PKGBUILDs/extra/abcde/PKGBUILD
2009-10-10 10:49:59 -05:00

29 lines
1.1 KiB
Bash

# Contributor: Jochem Kossen <j.kossen@home.nl>
# Maintainer: Kevin Piche <kevin@archlinux.org>
pkgname=abcde
pkgver=2.3.99.7
pkgrel=2
pkgdesc="A frontend command-line utility that grabs tracks off a CD, encodes them to ogg or mp3 format, and tags them, all in one go."
depends=('bash' 'cd-discid' 'cdparanoia' 'lame' 'vorbis-tools' 'wget' 'id3' 'id3v2')
backup=(etc/$pkgname.conf)
arch=('arm')
url="http://code.google.com/p/abcde"
license=('GPL')
source=()
md5sums=()
makedepends=('subversion')
build() {
# Retrieve source from subversion.
svn export http://$pkgname.googlecode.com/svn/tags/$pkgver $pkgname
cd $startdir/src/$pkgname
sed -e "s:normalize-audio:normalize:g" -i $pkgname
sed -e "s:/usr/bin/less:/bin/less:g" -i $pkgname
install -Dm 0755 $pkgname $startdir/pkg/usr/bin/$pkgname
install -Dm 0755 cddb-tool $startdir/pkg/usr/bin/cddb-tool
install -Dm 0644 cddb-tool.1 $startdir/pkg/usr/share/man/man1/cddb-tool.1
install -Dm 0644 $pkgname.1 $startdir/pkg/usr/share/man/man1/$pkgname.1
install -Dm 0644 $pkgname.conf $startdir/pkg/etc/$pkgname.conf
}