updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / crip / PKGBUILD
blobae410fbff601c76864208e11ca0c454e58638c91
1 # Maintainer:  TDY <tdy@gmx.com>
2 # Contributor: Nathan Owe <ndowens04 at gmail>
4 pkgname=crip
5 pkgver=3.9
6 pkgrel=1
7 pkgdesc="A terminal-based ripper/encoder/tagger tool for creating Ogg Vorbis/FLAC/MP3 files"
8 arch=('any')
9 url="http://bach.dynet.com/crip/"
10 license=('GPL')
11 depends=('cdparanoia' 'flac' 'perl' 'sox' 'vorbisgain' 'vorbis-tools')
12 install=crip.install
13 source=(http://bach.dynet.com/crip/src/$pkgname-$pkgver.tar.gz)
14 md5sums=('dcb5b9d034c100987301276a2973f74d')
16 build() {
17   cd "$srcdir/$pkgname-$pkgver"
18   install -dm755 "$pkgdir/usr/bin"
19   install -Dm644 CDDB_get.pm "$pkgdir/usr/share/perl5/vendor_perl/CDDB_get.pm"
20   install -Dm755 $pkgname "$pkgdir/usr/share/$pkgname/$pkgname"
21   install -cm644 criprc_example "$pkgdir/usr/share/$pkgname/criprc_example"
22   install -cm644 editfilenames "$pkgdir/usr/share/$pkgname/editfilenames"
23   install -cm644 editcomment "$pkgdir/usr/share/$pkgname/editcomment"
24   ln -sf /usr/share/$pkgname/$pkgname "$pkgdir/usr/bin/$pkgname"